diff options
| author | 2024-02-07 10:31:09 -0500 | |
|---|---|---|
| committer | 2024-02-07 10:33:00 -0500 | |
| commit | d2c4a4ab7051dfddc8f7b62f0f3ec5a02439ba3b (patch) | |
| tree | c90f92e6dfb0915aedfa66f28ed4164472cc9a3a /libs/gui/FrameRateUtils.cpp | |
| parent | 1b685dd3b6373ba55be1c57c672a22533e16664d (diff) | |
Fix wrong lock scope
mLastQueued* need to be atomic with respect to
mCore->mLastQueuedSlot, and all of them should be
guarded by the mCore->mMutex lock not the mCallbackMutex
Fixes: 311854672
Test: atest --rerun-until-failure 1000 android.view.cts.PixelCopyTest
Change-Id: Iccd7a5ca36d0ee1d87687e1643074d39ad059e01
Diffstat (limited to 'libs/gui/FrameRateUtils.cpp')
0 files changed, 0 insertions, 0 deletions