What happens if 2 applications (one that offers a permission, and one
that uses it), define a permission in different ways?

Application A:
<permission android:name="xxx.MYPERMISSION"... />
<uses-permission android:name="xxx.MYPERMISSION".../>
<activity permission="xxx.MYPERMISSION" .../>

Application B:
<permission android:name="xxx.MYPERMISSION"... />
<uses-permission android:name="xxx.MYPERMISSION".../>

How are permissions enforced if the definitions given for the same
permission MYPERMISSION differ in application A and application B?
(i.e. if the labels differ, or the permission group or protection
level are different?)

Is it recommended that both applications define the same permission?
(I have noticed, if they do not, then the order of installation of the
two applications matters)

Peli


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to