Added
A field-service company ships two Android applications signed by the same release key. The technician app must read a local database exposed by the companion app, but no other installed application should be able to access it. Both applications are installed through managed distribution, and the team wants access control to remain valid even if another developer guesses the permission name. What is the best configuration for the database provider?
A signature-level custom permission is granted only to applications signed with the same certificate as the permission owner, and requiring it on the provider protects the component itself. A normal permission is generally granted without user approval and does not restrict callers to the trusted signer. READ_CONTACTS is unrelated to this database and does not provide the intended trust relationship. A non-exported activity in the client app does not control access to the companion app's provider.