commit | 8ad31511a6f9c6ab63b8c97b53eb475566e109d3 | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Wed Mar 28 16:47:40 2018 -0700 |
committer | Winson Chung <winsonc@google.com> | Tue Apr 03 12:25:53 2018 -0700 |
tree | 7b76e2a7284219cbbfc16fb94291eb05619e5b1b | |
parent | c2b64829a7820d49aced7ff892a33d51c7df459c [diff] |
Update api for canceling recents animation. Bug: 74405472 Change-Id: Idb2fdec88115927a2db94e0216b1bea8386e6f23
diff --git a/quickstep/src/com/android/quickstep/OtherActivityTouchConsumer.java b/quickstep/src/com/android/quickstep/OtherActivityTouchConsumer.java index 4bd4a11..0ab2df7 100644 --- a/quickstep/src/com/android/quickstep/OtherActivityTouchConsumer.java +++ b/quickstep/src/com/android/quickstep/OtherActivityTouchConsumer.java
@@ -285,7 +285,8 @@ // Also clean up in case the system has handled the UP and canceled the animation before // we had a chance to start the recents animation. In such a case, we will not receive - ActivityManagerWrapper.getInstance().cancelRecentsAnimation(); + ActivityManagerWrapper.getInstance().cancelRecentsAnimation( + true /* restoreHomeStackPosition */); } mVelocityTracker.recycle(); mVelocityTracker = null;