OSDN Git Service

Temporarily allow system apps to fully act across users.
authorJessica Hummel <jhummel@google.com>
Thu, 13 Mar 2014 18:09:56 +0000 (18:09 +0000)
committerJessica Hummel <jhummel@google.com>
Mon, 17 Mar 2014 17:08:22 +0000 (17:08 +0000)
This is to allow launcher to start activities across users
and will be reverted when an alternative API is provided.

Change-Id: I67ec3e9d419afffbadce37d6e9958e2dfc096fb2

core/res/AndroidManifest.xml

index b99cb90..c2159fb 100644 (file)
     <!-- @hide Fuller form of {@link android.Manifest.permission#INTERACT_ACROSS_USERS}
          that removes restrictions on where broadcasts can be sent and allows other
          types of interactions. -->
+    <!-- TODO: Remove the system protection level.-->
     <permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"
         android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
-        android:protectionLevel="signature"
+        android:protectionLevel="signature|system"
         android:label="@string/permlab_interactAcrossUsersFull"
         android:description="@string/permdesc_interactAcrossUsersFull" />