diff options
| author | 2020-04-20 22:36:44 -0700 | |
|---|---|---|
| committer | 2020-05-08 10:00:06 -0700 | |
| commit | 20134646cb4f0795c89baa64048994f148bb00ba (patch) | |
| tree | b7add5a3c5b65a6dd0cca895172e99b880a3e7c2 /libs/gui/DisplayEventDispatcher.cpp | |
| parent | a7e92558ee6b21be51ec2b47854639c990ec1cc2 (diff) | |
SF: Fix thread safety for RefreshRateOverlay
Lock mStateLock when reading/writing the pointer, and writing layer
state. Destroy the layer on the main thread. Notify overlay when
viewport changes to avoid display lookup on refresh rate change.
Bug: 123715322
Test: Toggle overlay on flame.
Change-Id: I019c5cd49c94182f2c4364b0299fa3aa7783bd15
Diffstat (limited to 'libs/gui/DisplayEventDispatcher.cpp')
0 files changed, 0 insertions, 0 deletions