Sai
Sai

Reputation: 2109

Will Android PackageManager accept an app claiming systemOrSignature permission?

If a non-system app requests for a permission defined at systemOrSignature protection level, will Android PackageManager reject the app at install time or will it install the app successfully and just ignore the permission?

Upvotes: 1

Views: 52

Answers (1)

Jared Rummler
Jared Rummler

Reputation: 38121

The app will be installed but a SecurityException will be thrown if you use a permission the system cannot grant. You can read more about permissions here: System Permissions | Android Developers

Upvotes: 1

Related Questions