On Mon, Jun 18, 2012 at 9:48 AM, Jason Meyer <jasonmeyer...@yahoo.de> wrote: > Nonetheless, I am still wondering: Does that mean that an app stored > as APK in /system/app/ can use any permission which is <= > "signatureOrSystem"?
Well, sure, if they request it, just like any other SDK app. > As I already mentioned, every app in /data/system/packages.xml which > was stored in /system/app/ had NO <perms>-Block. Not a single one. And > I highly doubt that preinstalled apps such as the Phone App only > utilize signatureOrSystem-Permissions. For example, the > android.permission.CALL_PHONE has a protectionLevel of "dangerous" and > is used by the preinstalled Phone app. However, this permission is not > denoted in /data/system/packages.xml for the Phone app. I have no idea what the <perms> block is. That sounds like a firmware detail, which is out of scope for this list. The Phone app requests CALL_PHONE like any other SDK application would: https://github.com/android/platform_packages_apps_phone/blob/master/AndroidManifest.xml > Hence, I suspect that any app stored in /system/app/ is granted any > permission equal to or below "signatureOrSystem" level. Only if they ask for them, like any other SDK application. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.7 Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en