Skip to content

Commit

Permalink
Shade: Ignore recents opening drag if the previous drag was not complete
Browse files Browse the repository at this point in the history
  • Loading branch information
amirzaidi committed Jun 18, 2020
1 parent f4fb761 commit ef69b90
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public void onDragStart(boolean start) {
super.onDragStart(start);

mAnimateToRecents = false;
if (handlingOverviewAnim()) {
if (start && handlingOverviewAnim()) {
mMotionPauseDetector.setOnMotionPauseListener(isPaused -> {
if (isPaused) {
Log.d(TAG, "Pause detected, opening recents");
Expand Down

0 comments on commit ef69b90

Please sign in to comment.