summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2021-05-20 18:35:30 +0200
committerJorim Jaggi <jjaggi@google.com>2021-05-21 11:38:37 +0000
commit1d31270fd256b50c32f7b5f47ca61d1b96c9b4a7 (patch)
treeb024f1dd8f8ab79666c1cbde96068c144295f810 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent0f311f7b28b405f127405e47a1989977a37d873c (diff)
Fix race condition between lockNow() and updateLockscreenTimeout
If updateLockscreenTimeout gets called before the Runnable queued from lockNow gets executed, lockNow request will be ignored. Fix this by not clearing out the runnable if it's pending lock request. Test: Switch user, ensure lockscreen comes up Bug: 161149543 Change-Id: Ie486396fd7328edf8ca0912df92524bb82a1fb7f (cherry picked from commit 875fa991aac0f3bbd5c66327408ceae60a24a6b3) Merged-In: Ie486396fd7328edf8ca0912df92524bb82a1fb7f
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions