Migrate Contextual Search code to AOSP
- Adds ContextualSearchInvoker - Adds ContextualSearchStateManager - Adds ContextualSearchHapticManager Example output from ContextualSearchStateManager in TouchInteractionService dump: https://paste.googleplex.com/5536017815961600 Bug: 353715553 Test: go/contextual-search-entrypoints-test-plan Flag: EXEMPT moving code from vendor to aosp Change-Id: I8253294d6be427e0fc29d6052994de0c03f05a3e
This commit is contained in:
1 parent
0e27df431a
commit
0b936727d6
24 files changed
+1223
-195
No files matched your search
@@ -19,6 +19,7 @@ package com.android.launcher3.taskbar;
|
||||
import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_TASKBAR_ALLAPPS_BUTTON_LONG_PRESS;
|
||||
import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_TASKBAR_ALLAPPS_BUTTON_TAP;
|
||||
|
||||
import android.content.Context;
|
||||
import android.view.InputDevice;
|
||||
import android.view.MotionEvent;
|
||||
import android.view.View;
|
||||
@@ -64,7 +65,8 @@ public class TaskbarViewCallbacks {
|
||||
mActivity.getStatsLogManager().logger().log(LAUNCHER_TASKBAR_ALLAPPS_BUTTON_LONG_PRESS);
|
||||
}
|
||||
|
||||
public boolean isAllAppsButtonHapticFeedbackEnabled() {
|
||||
/** @return true if haptic feedback should occur when long pressing the all apps button. */
|
||||
public boolean isAllAppsButtonHapticFeedbackEnabled(Context context) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user