summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorJose Lima <joselima@google.com>2014-03-11 19:19:11 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-11 19:19:11 +0000
commitdd0db799ee25833a8989a823299f039ac31fef58 (patch)
tree3851ec06d61ab8c46d161892afcbf08e757f0003 /core/java
parentee142967f60388d73c3bb99f321a781aa07f1eec (diff)
parent5f0c0498a1382ef955cccca95920ec878fe2a64c (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.java6
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.