navigation: don't run gesture animation if gestures are not enabled am: 8d49c4bb29
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15410551 Change-Id: I1661cae65ac6a27f6ae373017d364369776a38f9
This commit is contained in:
@@ -173,7 +173,9 @@ public class FallbackSwipeHandler extends
|
||||
@Override
|
||||
protected void notifyGestureAnimationStartToRecents() {
|
||||
if (mRunningOverHome) {
|
||||
mRecentsView.onGestureAnimationStartOnHome(mGestureState.getRunningTask());
|
||||
if (SysUINavigationMode.getMode(mContext).hasGestures) {
|
||||
mRecentsView.onGestureAnimationStartOnHome(mGestureState.getRunningTask());
|
||||
}
|
||||
} else {
|
||||
super.notifyGestureAnimationStartToRecents();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user