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
This commit is contained in:
Evan Rosky
2023-04-25 09:29:53 -07:00
parent e324ae0082
commit d3ce273612

View File

@@ -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);
}