diff options
| author | 2023-11-20 17:05:10 +0800 | |
|---|---|---|
| committer | 2023-11-20 18:14:53 +0800 | |
| commit | 6c61321295a0313e620f102c7851d8c941b785ea (patch) | |
| tree | 7fb3223e3a8fa20d1c4bf92b5a533acf803e6ce0 /libs/androidfw/FileStream.cpp | |
| parent | 3fa36e3cbeed2e3d1aebc000aaae985cb63e4474 (diff) | |
Always call onStateChanged/onControlsChanged from the handler thread
InsetsController#mRunningAnimations might be accessed while these
methods are called, and it is not safe to be accessed from multiple
threads.
Fix: 309555866
Test: 1. Swipe to show status bar while watching a video in fullscreen
in YouTube, and wait for the bar being hidden.
2. Receive a heads up notification while watching a video in
fullscreen in YouTube, and wait for the bar being hidden.
Make sure there is no crash while doing 1 and 2.
Change-Id: Ifdbab981a8e37027a4e017a0050052f3fd8c6a48
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions