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
This commit is contained in:
Anthony Hugh
2015-09-29 16:50:35 -07:00
parent 235a6911b0
commit 979b81ac33
2 changed files with 25 additions and 0 deletions

View File

@@ -3156,6 +3156,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.