summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Beverly <beverlyt@google.com> 2024-07-25 18:18:36 +0000
committer Beverly Tai <beverlyt@google.com> 2024-07-25 18:25:29 +0000
commit910782b9f9bc7252c8040b1e3b2a0233d8d28aed (patch)
tree1d9da8ef7ef605748088f0956bfa973eedf6ff86 /libs/androidfw/StringPool.cpp
parent767ee832286acab5d2b1d68f3b5cf6c5f95b9407 (diff)
Make doze vars volatile to be thread safe
Brightness changes may be requested on the background thread around the same time as a screen state change. Make these doze variables volatile so that when doze is updated, the correct screen state and brightness values are used. Bug: 342529814 Flag: EXEMPT bugfix Test: screen off with UDFPS enrolled; trigger quick pickup gesture. wait for screen to time out back to screen off in 6s. Repeat 20 times. Observe screen always turns back off. Change-Id: Ie66014ee100a17b88c451e667feda58df9fc5942
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions