Temporarily disabling custom search controller
Change-Id: I7920425a63e64cd619349895e8e7e1c8448305f5
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java
index 7330712..d9217e8 100644
--- a/src/com/android/launcher3/Launcher.java
+++ b/src/com/android/launcher3/Launcher.java
@@ -1377,11 +1377,14 @@
// Setup Apps and Widgets
mAppsView = (AllAppsContainerView) findViewById(R.id.apps_view);
mWidgetsView = (WidgetsContainerView) findViewById(R.id.widgets_view);
- if (mLauncherCallbacks != null && mLauncherCallbacks.getAllAppsSearchBarController() != null) {
- mAppsView.setSearchBarController(mLauncherCallbacks.getAllAppsSearchBarController());
- } else {
- mAppsView.setSearchBarController(new DefaultAppSearchController());
- }
+ mAppsView.setSearchBarController(new DefaultAppSearchController());
+
+ // TODO: Reenable this
+// if (mLauncherCallbacks != null && mLauncherCallbacks.getAllAppsSearchBarController() != null) {
+// mAppsView.setSearchBarController(mLauncherCallbacks.getAllAppsSearchBarController());
+// } else {
+// mAppsView.setSearchBarController(new DefaultAppSearchController());
+// }
// Setup the drag controller (drop targets have to be added in reverse order in priority)
dragController.setDragScoller(mWorkspace);