summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/LauncherApplication.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2011-08-23 11:58:54 -0700
committerWinson Chung <winsonc@google.com>2011-08-23 14:58:00 -0700
commitcbf7c4d50ce2609518640c3f590f6df435edabae (patch)
tree3faec505e21ed3193ad7864581b931e22905a081 /src/com/android/launcher2/LauncherApplication.java
parent0b48076529aa3710a2d9e35ae1cb391f77d897ae (diff)
downloadandroid_packages_apps_Trebuchet-cbf7c4d50ce2609518640c3f590f6df435edabae.tar.gz
android_packages_apps_Trebuchet-cbf7c4d50ce2609518640c3f590f6df435edabae.tar.bz2
android_packages_apps_Trebuchet-cbf7c4d50ce2609518640c3f590f6df435edabae.zip
Hiding search bar buttons when qsb is disabled. (5187969, 5201453)
Change-Id: I23cbfac5c1a8f96eb8158fd30a1fb335b044d49c
Diffstat (limited to 'src/com/android/launcher2/LauncherApplication.java')
-rw-r--r--src/com/android/launcher2/LauncherApplication.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/launcher2/LauncherApplication.java b/src/com/android/launcher2/LauncherApplication.java
index 9b2458758..ba028efea 100644
--- a/src/com/android/launcher2/LauncherApplication.java
+++ b/src/com/android/launcher2/LauncherApplication.java
@@ -62,6 +62,9 @@ public class LauncherApplication extends Application {
filter = new IntentFilter();
filter.addAction(SearchManager.INTENT_GLOBAL_SEARCH_ACTIVITY_CHANGED);
registerReceiver(mModel, filter);
+ filter = new IntentFilter();
+ filter.addAction(SearchManager.INTENT_ACTION_SEARCHABLES_CHANGED);
+ registerReceiver(mModel, filter);
// Register for changes to the favorites
ContentResolver resolver = getContentResolver();