Merge "Null out RemoteTargetHandles as soon as finishing recents is requested" into sc-v2-dev am: 759e15fe45 am: b118667290
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15661931 Change-Id: I27371b7e99597e8805d647421581fa4cdacb4989
This commit is contained in:
@@ -4090,6 +4090,8 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
|
||||
public void finishRecentsAnimation(boolean toRecents, boolean shouldPip,
|
||||
Runnable onFinishComplete) {
|
||||
// TODO(b/197232424#comment#10) Move this back into onRecentsAnimationComplete(). Maybe?
|
||||
mRemoteTargetHandles = null;
|
||||
if (!toRecents && ENABLE_QUICKSTEP_LIVE_TILE.get()) {
|
||||
// Reset the minimized state since we force-toggled the minimized state when entering
|
||||
// overview, but never actually finished the recents animation. This is a catch all for
|
||||
@@ -4137,7 +4139,6 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
setCurrentTask(-1);
|
||||
mRecentsAnimationController = null;
|
||||
executeSideTaskLaunchCallback();
|
||||
mRemoteTargetHandles = null;
|
||||
}
|
||||
|
||||
public void setDisallowScrollToClearAll(boolean disallowScrollToClearAll) {
|
||||
|
||||
Reference in New Issue
Block a user