Re-adding clear-all button logging
Bug: 131250710 Change-Id: If31a84bf6db37b295fc0e2c4d8db8ed4b7baa037
This commit is contained in:
parent
01b8b68db7
commit
325a48b01a
|
@ -25,6 +25,8 @@ import static com.android.launcher3.anim.Interpolators.LINEAR;
|
|||
import static com.android.launcher3.config.FeatureFlags.ENABLE_QUICKSTEP_LIVE_TILE;
|
||||
import static com.android.launcher3.config.FeatureFlags.QUICKSTEP_SPRINGS;
|
||||
import static com.android.launcher3.uioverrides.touchcontrollers.TaskViewTouchController.SUCCESS_TRANSITION_PROGRESS;
|
||||
import static com.android.launcher3.userevent.nano.LauncherLogProto.Action.Touch.TAP;
|
||||
import static com.android.launcher3.userevent.nano.LauncherLogProto.ControlType.CLEAR_ALL_BUTTON;
|
||||
import static com.android.launcher3.util.SystemUiController.UI_STATE_OVERVIEW;
|
||||
import static com.android.quickstep.TaskUtils.checkCurrentOrManagedUserId;
|
||||
import static com.android.launcher3.Utilities.EDGE_NAV_BAR;
|
||||
|
@ -1162,6 +1164,7 @@ public abstract class RecentsView<T extends BaseActivity> extends PagedView impl
|
|||
@SuppressWarnings("unused")
|
||||
private void dismissAllTasks(View view) {
|
||||
runDismissAnimation(createAllTasksDismissAnimation(DISMISS_TASK_DURATION));
|
||||
mActivity.getUserEventDispatcher().logActionOnControl(TAP, CLEAR_ALL_BUTTON);
|
||||
}
|
||||
|
||||
private void dismissCurrentTask() {
|
||||
|
|
Loading…
Reference in New Issue