Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d3ce2736 authored by Evan Rosky's avatar Evan Rosky
Browse files

Fix track-assignment omission

Forgot to record the track so they sometimes didn't align if
there was a race with finish-transition.

Bug: 279523063
Test: com.android.wm.shell.flicker.splitscreen.SwitchBetweenSplitPairs#cujCompleted
Change-Id: I299f9665395ea146640f213c248d685c8e97b511
parent e324ae00
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -963,6 +963,7 @@ class TransitionController {
        if (sync) {
            info.setFlags(info.getFlags() | TransitionInfo.FLAG_SYNC);
        }
        transition.mAnimationTrack = track;
        info.setTrack(track);
        mTrackCount = Math.max(mTrackCount, track + 1);
    }