Merge "Prevent lingering divider animators in AbsSwipeUpHandler"
This commit is contained in:
@@ -4297,9 +4297,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