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

Skip to content
Commit ac7028c2 authored by wilsonshih's avatar wilsonshih
Browse files

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
parent 387c94f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment