From 8c09f636ba704a41d45cf051383abc2320a5a2b8 Mon Sep 17 00:00:00 2001 From: Adam Cohen Date: Tue, 11 Sep 2012 18:23:35 -0700 Subject: [PATCH] Adding a couple extras keys for keyguard widget selection Change-Id: I2ca60769379174d12055ad44cab0fefafb24eb5c --- core/java/android/appwidget/AppWidgetManager.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/core/java/android/appwidget/AppWidgetManager.java b/core/java/android/appwidget/AppWidgetManager.java index 100a2b8cc7e71..0a2a6f67eb997 100644 --- a/core/java/android/appwidget/AppWidgetManager.java +++ b/core/java/android/appwidget/AppWidgetManager.java @@ -215,6 +215,20 @@ public class AppWidgetManager { */ public static final String EXTRA_CUSTOM_EXTRAS = "customExtras"; + /** + * An intent extra to pass to the AppWidget picker which allows the picker to filter + * the list based on the {@link AppWidgetProviderInfo#widgetCategory}. + */ + /** @hide */ + public static final String EXTRA_CATEGORY_FILTER = "categoryFilter"; + + /** + * An intent extra to pass to the AppWidget picker which allows the picker to filter + * the list based on the {@link AppWidgetProviderInfo#widgetFeatures}. + */ + /** @hide */ + public static final String EXTRA_FEATURES_FILTER = "featuresFilter"; + /** * A sentiel value that the AppWidget manager will never return as a appWidgetId. */