diff options
author | Adam Cohen <adamcohen@google.com> | 2015-02-20 16:39:41 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-02-20 16:39:42 +0000 |
commit | c018c4db08da28047d6b9da4eb1088d65de85b65 (patch) | |
tree | 4debd363ee5bdb6ea45d01aa72b2b7da1b40cba6 /src/com/android/launcher3 | |
parent | f3e4f548fd472cf64e407890373f5ce0e7ac3bbc (diff) | |
parent | eb8e282a77279c7657f49a7391c41270d4997379 (diff) | |
download | android_packages_apps_Trebuchet-c018c4db08da28047d6b9da4eb1088d65de85b65.tar.gz android_packages_apps_Trebuchet-c018c4db08da28047d6b9da4eb1088d65de85b65.tar.bz2 android_packages_apps_Trebuchet-c018c4db08da28047d6b9da4eb1088d65de85b65.zip |
Merge "Revert "Mark WIDGET_CATEGORY_HOME and WIDGET_CATEGORY_SEARCHBOX on the search widget"" into ub-launcher3-master
Diffstat (limited to 'src/com/android/launcher3')
-rw-r--r-- | src/com/android/launcher3/Launcher.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java index 7445b8c69..58b085480 100644 --- a/src/com/android/launcher3/Launcher.java +++ b/src/com/android/launcher3/Launcher.java @@ -3966,11 +3966,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); |