From 979b81ac33c2ba678414c5350c19fc78dbac724a Mon Sep 17 00:00:00 2001 From: Anthony Hugh Date: Tue, 29 Sep 2015 16:50:35 -0700 Subject: Give Android Wear system apps default permission This change grants Android Wear system components default permission. I have also added a new Intent category to help identify the main Home handler on Wear. BUG: 23419042 Change-Id: Ie669a9908bd3b03498f75c5ca22c0fddf52a5203 --- core/java/android/content/Intent.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'core/java/android/content') diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index 6bbee56..7173591 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -3157,6 +3157,13 @@ public class Intent implements Parcelable, Cloneable { @SdkConstant(SdkConstantType.INTENT_CATEGORY) public static final String CATEGORY_HOME = "android.intent.category.HOME"; /** + * This is the home activity that is displayed when the device is finished setting up and ready + * for use. + * @hide + */ + @SdkConstant(SdkConstantType.INTENT_CATEGORY) + public static final String CATEGORY_HOME_MAIN = "android.intent.category.HOME_MAIN"; + /** * This is the setup wizard activity, that is the first activity that is displayed * when the user sets up the device for the first time. * @hide -- cgit v1.1