summaryrefslogtreecommitdiff
path: root/ravenwood/scripts/extract-last-soong-commands.py
diff options
context:
space:
mode:
author Robin Lee <rgl@google.com> 2025-02-13 07:24:28 -0800
committer Robin Lee <rgl@google.com> 2025-02-14 01:52:52 -0800
commitde3e8d9ae7931c9cf0d4c501af9d8f75805d959f (patch)
tree0454ec701587e254bc7b4b977d340ccd95b20c84 /ravenwood/scripts/extract-last-soong-commands.py
parentc13717cd79158bb135f0b3a699af243743de802f (diff)
Add test for KeyguardController removing AOD during unlock
There is a heavily-exercised special case for KeyguardController: if the keyguard is going away but AOD is still showing, calling setKeyguardShown(true, false) will be treated as a request to remove the AOD bit without interfering with the keyguardGoingAway state. This is a surprising special case that was not caught by unit tests when a change to the surrounding code was submitted. Adding a test codifies that this is a deliberate "feature" and shouldn't be changed without a plan for alternative ways of clearing the AOD status during keyguardGoingAway Change-Id: Ide11cc6cfd33e826c54da704fd66997938735cc3 Flag: EXEMPT test only Test: atest 'DisplayContentTests#testKeyguardGoingAwayWhileAodShown' Bug: 396134691
Diffstat (limited to 'ravenwood/scripts/extract-last-soong-commands.py')
0 files changed, 0 insertions, 0 deletions