diff options
| author | Jose Lima <joselima@google.com> | 2014-03-11 19:19:11 +0000 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2014-03-11 19:19:11 +0000 |
| commit | dd0db799ee25833a8989a823299f039ac31fef58 (patch) | |
| tree | 3851ec06d61ab8c46d161892afcbf08e757f0003 /core/java | |
| parent | ee142967f60388d73c3bb99f321a781aa07f1eec (diff) | |
| parent | 5f0c0498a1382ef955cccca95920ec878fe2a64c (diff) | |
am 5f0c0498: Merge "Added LEANBACK_LAUNCHER Intent category" into klp-modular-dev
* commit '5f0c0498a1382ef955cccca95920ec878fe2a64c':
Added LEANBACK_LAUNCHER Intent category
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/content/Intent.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index 949528304c32..65e2268883f8 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -2765,6 +2765,12 @@ public class Intent implements Parcelable, Cloneable { @SdkConstant(SdkConstantType.INTENT_CATEGORY) public static final String CATEGORY_LAUNCHER = "android.intent.category.LAUNCHER"; /** + * Indicates an activity optimized for Leanback mode, and that should + * be displayed in the Leanback launcher. + */ + @SdkConstant(SdkConstantType.INTENT_CATEGORY) + public static final String CATEGORY_LEANBACK_LAUNCHER = "android.intent.category.LEANBACK_LAUNCHER"; + /** * Provides information about the package it is in; typically used if * a package does not contain a {@link #CATEGORY_LAUNCHER} to provide * a front-door to the user without having to be shown in the all apps list. |
