Hiding search bar buttons when qsb is disabled. (5187969, 5201453)

Change-Id: I23cbfac5c1a8f96eb8158fd30a1fb335b044d49c
This commit is contained in:
Winson Chung
2011-08-23 11:58:54 -07:00
parent 0b48076529
commit cbf7c4d50c
4 changed files with 9 additions and 2 deletions

View File

@@ -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();