commit | 20134646cb4f0795c89baa64048994f148bb00ba | [log] [tgz] |
---|---|---|
author | Dominik Laskowski <domlaskowski@google.com> | Mon Apr 20 22:36:44 2020 -0700 |
committer | Dominik Laskowski <domlaskowski@google.com> | Fri May 08 10:00:06 2020 -0700 |
tree | b7add5a3c5b65a6dd0cca895172e99b880a3e7c2 | |
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