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. */