Add new Intent category for hub mode.
We will use this new intent filter to determine which activities have opted-in to hub mode. Test: locally on device` Change-Id: I518763c7b43d60c7b90ea331895d2701ffd01139 Bug: 198325938
This commit is contained in:
@@ -4917,6 +4917,12 @@ public class Intent implements Parcelable, Cloneable {
|
||||
*/
|
||||
@SdkConstant(SdkConstantType.INTENT_CATEGORY)
|
||||
public static final String CATEGORY_CAR_LAUNCHER = "android.intent.category.CAR_LAUNCHER";
|
||||
/**
|
||||
* Used to indicate that the activity can be used in communal mode.
|
||||
* @hide
|
||||
*/
|
||||
@SdkConstant(SdkConstantType.INTENT_CATEGORY)
|
||||
public static final String CATEGORY_COMMUNAL_MODE = "android.intent.category.COMMUNAL_MODE";
|
||||
/**
|
||||
* Indicates a Leanback settings activity to be displayed in the Leanback launcher.
|
||||
* @hide
|
||||
|
||||
Reference in New Issue
Block a user