Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 954b7d36 authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Temporarily disabling custom search controller

Change-Id: I7920425a63e64cd619349895e8e7e1c8448305f5
parent 654f1b31
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -1377,11 +1377,14 @@ public class Launcher extends Activity
        // 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());
        }

        // 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);