Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 910782b9 authored by Beverly's avatar Beverly Committed by Beverly Tai
Browse files

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
parent 767ee832
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment