diff options
| author | 2023-06-06 12:46:07 -0700 | |
|---|---|---|
| committer | 2023-06-08 10:52:11 -0700 | |
| commit | 345a42452b5c10f05fb5fb2d1753712ac030a731 (patch) | |
| tree | d4114a4be72f92a8323b3d2d98cd4c819436c6f0 /libs/androidfw/FileStream.cpp | |
| parent | 9a5bc75e815ab472794a2e607b7b81b2a3ce4cea (diff) | |
Run addUidToObserver and removeUidFromObserver on the handler thread.
If we're in dispatchUidsChanged while another thread is calling
addUidToObserver or removeUidFromObserver, there will be two active
broadcasts for mUidObservers. Move this processing to the handler thread
to eliminate the possibility of this race condition.
Change-Id: I9d64978415ebb42f194936ec56ba9933ed1533e7
Bug: 285982408
Test: Ran testCamera2AccessCallbackInSplitMode
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions