[automerge] Prevent lingering divider animators in AbsSwipeUpHandler 2p: 7faaffa56a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16693066 Bug: 213403679 Change-Id: I628b14fb01461a103dd0cdd7168835197a28f1c5 Merged-In: I078a7d0f22c2ef2ba847796ec79e740c789ce1ae
This commit is contained in:
@@ -4241,9 +4241,12 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
if (isSuccess) {
|
||||
if (tv.getTaskIds()[1] != -1) {
|
||||
// TODO(b/194414938): make this part of the animations instead.
|
||||
TaskViewUtils.setSplitAuxiliarySurfacesShown(mRemoteTargetHandles[0]
|
||||
.getTransformParams().getTargetSet().nonApps,
|
||||
true /*shown*/, false /*animate*/);
|
||||
TaskViewUtils.createSplitAuxiliarySurfacesAnimator(
|
||||
mRemoteTargetHandles[0].getTransformParams().getTargetSet().nonApps,
|
||||
true /*shown*/, (dividerAnimator) -> {
|
||||
dividerAnimator.start();
|
||||
dividerAnimator.end();
|
||||
});
|
||||
}
|
||||
if (ENABLE_QUICKSTEP_LIVE_TILE.get() && tv.isRunningTask()) {
|
||||
finishRecentsAnimation(false /* toRecents */, null);
|
||||
|
||||
Reference in New Issue
Block a user