Merge "Do not set user active hints when Shell Transition is on." into sc-v2-dev

This commit is contained in:
Ben Lin 2021-08-13 01:09:19 +00:00 committed by Android (Google) Code Review
commit 99b5d13952
1 changed files with 3 additions and 1 deletions

View File

@ -106,7 +106,9 @@ public class LauncherSwipeHandlerV2 extends
boolean canUseWorkspaceView = workspaceView != null && workspaceView.isAttachedToWindow();
mActivity.getRootView().setForceHideBackArrow(true);
mActivity.setHintUserWillBeActive();
if (!TaskAnimationManager.ENABLE_SHELL_TRANSITIONS) {
mActivity.setHintUserWillBeActive();
}
if (!canUseWorkspaceView || appCanEnterPip) {
return new LauncherHomeAnimationFactory();