OSDN Git Service

Slices: Don't use public namespace for internal intent
authorJason Monk <jmonk@google.com>
Wed, 18 Apr 2018 14:37:19 +0000 (10:37 -0400)
committerJason Monk <jmonk@google.com>
Wed, 18 Apr 2018 14:37:19 +0000 (10:37 -0400)
Test: manual
Change-Id: I21bc0a367456b58de195d71fc29cca0dbbca6927
Fixes: 78214697

core/java/android/app/slice/SliceManager.java
packages/SystemUI/AndroidManifest.xml

index 28e5938..22df6c0 100644 (file)
@@ -66,7 +66,7 @@ public class SliceManager {
      * @hide
      */
     public static final String ACTION_REQUEST_SLICE_PERMISSION =
-            "android.intent.action.REQUEST_SLICE_PERMISSION";
+            "com.android.intent.action.REQUEST_SLICE_PERMISSION";
 
     /**
      * Category used to resolve intents that can be rendered as slices.
index 285b89f..b5407dc 100644 (file)
             android:finishOnCloseSystemDialogs="true"
             android:excludeFromRecents="true">
             <intent-filter>
-                <action android:name="android.intent.action.REQUEST_SLICE_PERMISSION" />
+                <action android:name="com.android.intent.action.REQUEST_SLICE_PERMISSION" />
             </intent-filter>
         </activity>