Hi everyone, I tried to understand the protection levels of permissions. I have a question about how to get the certificate to use a "signature" permission for the third-party application? Following the manifestation file https://android.googlesource.com/platform/frameworks/base/+/master/core/res/AndroidManifest.xml, we have some protection levels of permissions, such as signature|system|development, signature|system, system|signature, signature|development|appop, signature|privileged, signature|installer, signature. I know that the permissions with ".*|system|.*" are used only for the system/manufacturer applications. But for "signature", "signature|development|appop" levels, I wonder whether a third-party application can get the certificate to use them? Because I saw that Facebook has the permission "Battery_stats" in his list of permissions. I tried to find the information to confirm this question, but found no clear confirmation. If a third-party application can get the certificate, could you please detail how they can get it?
Thank you very much, tam -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/a32a3d00-c6fe-40b1-ad11-4c94b175bff3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

