Loading src/com/android/launcher3/allapps/search/AllAppsSearchBarController.java +0 −7 Original line number Diff line number Diff line Loading @@ -15,9 +15,6 @@ */ package com.android.launcher3.allapps.search; import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_ALLAPPS_FOCUSED_ITEM_SELECTED_WITH_IME; import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_ALLAPPS_QUICK_SEARCH_WITH_IME; import android.text.Editable; import android.text.SpannableStringBuilder; import android.text.TextUtils; Loading Loading @@ -125,10 +122,6 @@ public class AllAppsSearchBarController public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { if (actionId == EditorInfo.IME_ACTION_SEARCH || actionId == EditorInfo.IME_ACTION_GO) { mLauncher.getStatsLogManager().logger() .log(actionId == EditorInfo.IME_ACTION_SEARCH ? LAUNCHER_ALLAPPS_QUICK_SEARCH_WITH_IME : LAUNCHER_ALLAPPS_FOCUSED_ITEM_SELECTED_WITH_IME); // selectFocusedView should return SearchTargetEvent that is passed onto onClick return mLauncher.getAppsView().getMainAdapterProvider().launchHighlightedItem(); } Loading Loading
src/com/android/launcher3/allapps/search/AllAppsSearchBarController.java +0 −7 Original line number Diff line number Diff line Loading @@ -15,9 +15,6 @@ */ package com.android.launcher3.allapps.search; import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_ALLAPPS_FOCUSED_ITEM_SELECTED_WITH_IME; import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_ALLAPPS_QUICK_SEARCH_WITH_IME; import android.text.Editable; import android.text.SpannableStringBuilder; import android.text.TextUtils; Loading Loading @@ -125,10 +122,6 @@ public class AllAppsSearchBarController public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { if (actionId == EditorInfo.IME_ACTION_SEARCH || actionId == EditorInfo.IME_ACTION_GO) { mLauncher.getStatsLogManager().logger() .log(actionId == EditorInfo.IME_ACTION_SEARCH ? LAUNCHER_ALLAPPS_QUICK_SEARCH_WITH_IME : LAUNCHER_ALLAPPS_FOCUSED_ITEM_SELECTED_WITH_IME); // selectFocusedView should return SearchTargetEvent that is passed onto onClick return mLauncher.getAppsView().getMainAdapterProvider().launchHighlightedItem(); } Loading