summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Josh Tsuji <tsuji@google.com> 2024-04-01 16:44:29 -0400
committer Josh Tsuji <tsuji@google.com> 2024-04-01 17:37:06 -0400
commit860922f3ec9b202791e94b2c5d9d2e2e67f4529d (patch)
tree24a81e1e011fd42d6453ecce87790c346ace5af8 /libs/androidfw/StringPool.cpp
parent065e8c4ac972df285ddd357bb401f7273f867de9 (diff)
Listen to wakefulness instead of DozeMachine for AOD -> isAwake(*).
DozeMachine does not start (and thus does not finish) if AOD is enabled but we are not controlling the screen off animation. It's also on a different timeline than wakefulness, so it's just not a good idea to rely on it. Now that we have PowerInteractor, let's use that. This borrows some of keyguard_wm_state_refactor's insecure camera launch logic, since that actually does not require the KeyguardService refactors and makes it possible to determine at wake time whether we need to return to GONE for the insecure camera launch. Also, fixes a bug where we were ignoring isOccluded for AOD -> isAwake(*) transitions. Fixes: 331961588 Fixes: 330433884 Flag: ACONFIG com.android.systemui.migrate_clocks_to_blueprint TEAMFOOD Test: atest SystemUITests Change-Id: I666af2a8c819c93188e4bd6ced9fa52c6df399b6
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions