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

Commit f51084c2 authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Revert "Temporarily disabling custom search controller"

This reverts commit 954b7d36.

Change-Id: If304fa164e50f68aac168ede0f4bc0ff97659a8a
parent 954b7d36
Loading
Loading
Loading
Loading
+5 −8
Original line number Diff line number Diff line
@@ -1377,14 +1377,11 @@ 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);