summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Lucas Silva <lusilva@google.com> 2022-08-29 15:45:28 -0400
committer Lucas Silva <lusilva@google.com> 2022-08-30 09:56:06 -0400
commit1e16b3c2175f55c35eb48d0c797a056ebe27bf9d (patch)
treef094f1061f9caa6dba93f325981faa78f88be55b /libs/androidfw/StringPool.cpp
parentd8dac1f6446c767796481d0b0f2db3b931a5f6c4 (diff)
Don't start dreams immediately if keyguard is occluded when docked.
The keyguard must be showing and unoccluded, or the device is not interactive (eg screen off) in order for dreams to be started immediately when docked. This prevents dreams from starting if there is an activity currently showing over the lockscreen. Also includes some refactoring to be able to unit test this change, since dock state changes were not previously tested. Fixes: 233412496 Test: atest UiModeManagerServiceTest Test: manually on device with keyguard occluded, unoccluded, and screen off while docked Change-Id: I12f1a4cf3ae4784e391e3c5a3fd1d50b4d4f7ecd
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions