diff options
| author | 2024-05-17 12:13:32 +0000 | |
|---|---|---|
| committer | 2024-05-17 21:43:23 +0000 | |
| commit | a99411a8735d6a37ab2fbdc0493bad7f80fe3b3c (patch) | |
| tree | 6bc905d820c7a9f5aed857996c7088a6f77b19a6 /libs/androidfw/StringPool.cpp | |
| parent | 6ba7f82b4e9226ee7257521d8468ef0d92855126 (diff) | |
Ensure ordering in transition processing
withContext does not provide that guarantee. Use a Mutex to
ensure that transitions do not run out of order. This was
first reported during a DOZING->LOCKSCREEN->OCCLUDED transition
on double-tap power press but was processed as
DOZING->OCCLUDED->LOCKSCREEN due to withContext.
Also, remove an unnecessary audit log
Fixes: 340041643
Test: atest KeyguardTransitionScenariosTest
KeyguardTransitionRepositoryTest
Flag: None
Change-Id: I0d4d35634f140658b384d06a16adbc6fca15aab0
Change-Id: I75ccc43c0d3b3775443486b62a312f82953cca3e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions