diff options
| author | 2023-05-19 15:10:01 -0700 | |
|---|---|---|
| committer | 2023-05-26 15:59:28 -0700 | |
| commit | 33a31d93afc61e0ea2775b7aa49d2817833d417c (patch) | |
| tree | 82feb7f3a87143995a0c87f423f327caec41e5cb /libs/androidfw/ApkParsing.cpp | |
| parent | 24e09b6686e7b15d6596391ecfde60e76596fbe9 (diff) | |
Fix race condition when accessing ClockChangeListener
Make sure clients register and unregister listeners on the main thread.
Only switch to background thread for `mutateSetting`, so mutate consecutively happened in order. The call site decides if they need a new job.
Bug: 274403822
Test: set clock options via WPP
Change-Id: I7c14ae912c551a78cee664793eef043e961e75a1
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions