Merge "[QL-v2] Add logging for quick launch." into tm-qpr-dev am: ff86dd930d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20304437 Change-Id: I6dd93058b39d35b28a30daf425a7a422e03d99fb Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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;
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user