diff options
| author | 2023-08-10 10:00:02 +0000 | |
|---|---|---|
| committer | 2023-11-07 06:47:54 +0000 | |
| commit | ac7028c20eb52c72e3a7ba2cd1113f7eacabdf58 (patch) | |
| tree | 5ca0811e22d57d1aaaaa43478158e343d82c508a /libs/androidfw/FileStream.cpp | |
| parent | 387c94f98911b80336ba0940f24a1123f1a50716 (diff) | |
Tuning snapshot persist queue for shell transition.
- Remove duplicate write snapshot to files request, there could record
snapshot for a same task more than one time during a transition, but
only the latest request matter when save files.
- Insert load snapshot request in front of queue,so it can happen
before write request. Because back navigation might need that
snapshot as soon as previous transition finish.
Bug: 259497289
Test: atest TaskSnapshotPersisterLoaderTest TaskSnapshotCacheTest\
TaskSnapshotLowResDisabledTest
Change-Id: Ib5ff76e38578bf0b8c5baf796329da8ac72160e2
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions