navigation: don't run gesture animation if gestures are not enabled am: 931bc2a38e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15517673 Change-Id: I4db182fc09187b88644c0b144048e35413d0335f
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