diff options
| author | 2024-01-25 15:51:55 +0800 | |
|---|---|---|
| committer | 2024-01-26 09:07:35 +0000 | |
| commit | 0e09f645f3f6761af8daed7a7e8160b6b5e0784e (patch) | |
| tree | 79401bf1be0e69a9d6840773ae4f3e9ddfc12839 /libs/androidfw/ResourceTimer.cpp | |
| parent | 703fd3da6c184a4fc18ecb010afdaf54b1a36f4a (diff) | |
Check isUserUnlocked before attemp to delete snapshot file.
On different platform the first launched task may not be home task,
so after the first task removed, TasSnapshotController will ask to
remove it's snapshot files. But user may haven't unlock at that time.
To ensure the delete action happen after user unlock, also check
isUserUnlocked in DeleteWriteQueueItem#isReady.
Also dumps items in SnapshotPersistQueue#mWriteQueue for further
debugging if needed.
Bug: 321587472
Test: presubmit
Change-Id: Ia13008b13cfde4f831be8da29230179ac2c35374
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions