summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Cohen <adamcohen@google.com>2015-02-20 16:38:48 +0000
committerAdam Cohen <adamcohen@google.com>2015-02-20 16:38:48 +0000
commiteb8e282a77279c7657f49a7391c41270d4997379 (patch)
tree07ef88993b54364c521673a040da75ca9a7b8b0e /src
parent87cf88393cedb66633bbcf51c283d525ef88932f (diff)
downloadandroid_packages_apps_Trebuchet-eb8e282a77279c7657f49a7391c41270d4997379.tar.gz
android_packages_apps_Trebuchet-eb8e282a77279c7657f49a7391c41270d4997379.tar.bz2
android_packages_apps_Trebuchet-eb8e282a77279c7657f49a7391c41270d4997379.zip
Revert "Mark WIDGET_CATEGORY_HOME and WIDGET_CATEGORY_SEARCHBOX on the search widget"
This reverts commit 87cf88393cedb66633bbcf51c283d525ef88932f. Change-Id: Ie15c71f76c71dfb6b85aefcc10cd66eb49bea6dc
Diffstat (limited to 'src')
-rw-r--r--src/com/android/launcher3/Launcher.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java
index 0fb8f4df1..61915b755 100644
--- a/src/com/android/launcher3/Launcher.java
+++ b/src/com/android/launcher3/Launcher.java
@@ -3910,11 +3910,8 @@ public class Launcher extends Activity
}
Bundle opts = new Bundle();
- // We indicate that this widget is both acting as a search box affordance as well
- // as being present on the home screen.
opts.putInt(AppWidgetManager.OPTION_APPWIDGET_HOST_CATEGORY,
- AppWidgetProviderInfo.WIDGET_CATEGORY_SEARCHBOX |
- AppWidgetProviderInfo.WIDGET_CATEGORY_HOME_SCREEN);
+ AppWidgetProviderInfo.WIDGET_CATEGORY_SEARCHBOX);
SharedPreferences sp = getSharedPreferences(
LauncherAppState.getSharedPreferencesKey(), MODE_PRIVATE);