diff options
author | Winson Chung <winsonc@google.com> | 2014-09-04 16:42:53 +0200 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2014-09-04 17:13:17 +0200 |
commit | ee0b12161ab8563378e33e9d694d15ed1a757a26 (patch) | |
tree | 838ab423739803ac4dd3354c48729b55bfa701da /core/java/android/appwidget | |
parent | a449018105252f6d8d83c4b7064ce54476a6c6f7 (diff) | |
download | frameworks_base-ee0b12161ab8563378e33e9d694d15ed1a757a26.zip frameworks_base-ee0b12161ab8563378e33e9d694d15ed1a757a26.tar.gz frameworks_base-ee0b12161ab8563378e33e9d694d15ed1a757a26.tar.bz2 |
Generalizing Recents widget category to Search box. (Bug 17334589)
Change-Id: Id62398255799844cc89affcb4bafc86b6479dad0
Diffstat (limited to 'core/java/android/appwidget')
-rw-r--r-- | core/java/android/appwidget/AppWidgetManager.java | 2 | ||||
-rw-r--r-- | core/java/android/appwidget/AppWidgetProviderInfo.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/java/android/appwidget/AppWidgetManager.java b/core/java/android/appwidget/AppWidgetManager.java index bd45c7e..00248cc 100644 --- a/core/java/android/appwidget/AppWidgetManager.java +++ b/core/java/android/appwidget/AppWidgetManager.java @@ -188,7 +188,7 @@ public class AppWidgetManager { * this widget. Can have the value {@link * AppWidgetProviderInfo#WIDGET_CATEGORY_HOME_SCREEN} or {@link * AppWidgetProviderInfo#WIDGET_CATEGORY_KEYGUARD} or {@link - * AppWidgetProviderInfo#WIDGET_CATEGORY_RECENTS}. + * AppWidgetProviderInfo#WIDGET_CATEGORY_SEARCHBOX}. */ public static final String OPTION_APPWIDGET_HOST_CATEGORY = "appWidgetCategory"; diff --git a/core/java/android/appwidget/AppWidgetProviderInfo.java b/core/java/android/appwidget/AppWidgetProviderInfo.java index 02f70c8..b4d79b4 100644 --- a/core/java/android/appwidget/AppWidgetProviderInfo.java +++ b/core/java/android/appwidget/AppWidgetProviderInfo.java @@ -61,9 +61,9 @@ public class AppWidgetProviderInfo implements Parcelable { public static final int WIDGET_CATEGORY_KEYGUARD = 2; /** - * Indicates that the widget can be displayed within recents. + * Indicates that the widget can be displayed within a space reserved for the search box. */ - public static final int WIDGET_CATEGORY_RECENTS = 4; + public static final int WIDGET_CATEGORY_SEARCHBOX = 4; /** * Identity of this AppWidget component. This component should be a {@link |