diff options
| author | 2023-08-17 09:02:16 -0700 | |
|---|---|---|
| committer | 2023-08-18 07:51:17 +0000 | |
| commit | 7b3c8ddea7d6e725d0a1b64fdeae35f940836974 (patch) | |
| tree | 5b40da3a804f39cfc17183048c0bb620086839f8 /libs/androidfw/BackupData.cpp | |
| parent | df13d6f717ac4bc64a989e913a02f23ba78e53d9 (diff) | |
Only set SYNC flag if >1 track
While technically it's true that a transition is sync
if another is running in the same track, tracks already
imply sync between their constituents, so it's redundant.
The player also interprets SYNC as "stop everything
immediately" which isn't actually useful unless there are
multiple active tracks.
So, only set the sync flag when there are >1 tracks.
Bug: 296242449
Test: atest TransitionTests#testNoSyncFlagIfOneTrack
Change-Id: I61d97542825627beba4dbfa77f1cff0cf1e86ab8
Diffstat (limited to 'libs/androidfw/BackupData.cpp')
0 files changed, 0 insertions, 0 deletions