dane131 wrote:
> i put the following tag in the manifest of app B:
> 
> <permission android:label="@string/B_PERMISSION_label"
> android:name="my.permissions.B_PERMISSION"
> android:description="@string/B_PERMISSION_desc"
> android:protectionLevel="signatureOrSystem"></permission>
> 
> and installed the application again.A could still call B (with an
> explicit intent) without having the
> 
> <uses-permission android:name="amy.permissions.B_PERMISSION"></uses-
> permission>
> 
> tag in its manifest

<permission> says "Hey, Android! Here's a new permission!". It doesn't
actually protect anything unless you use it somewhere.

http://developer.android.com/guide/topics/security/security.html#declaring

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, $35/Year
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to