summaryrefslogtreecommitdiff
path: root/packages/Shell/src
diff options
context:
space:
mode:
author Yeabkal Wubshit <yeabkal@google.com> 2024-04-10 14:14:07 -0700
committer Yeabkal Wubshit <yeabkal@google.com> 2024-04-18 16:15:20 -0700
commitb68749be3b4265e0f8c681e00e293200b4c745ce (patch)
tree408dbd8ef29827cda9ac40ae1df97be7844d390b /packages/Shell/src
parent697bd2a14d59fd356f66ab39a28a2d830a023139 (diff)
Remove theater-mode wake checks if screen is already on
The purpose of the theater-mode checks before the WindowWakeUpPolicy wakes is to prevent the screen from turning ON while the user is in theater mode (by extension, when the user is in an environment where they do not want the screen to be ON). Therefore, let's disable the theater-mode guards if a "wake" attempt is being done while the screen is already ON. Note that we flagged this new behavior with FLAG_SUPPORT_INPUT_WAKEUP_DELEGATE, since the situation we're trying to fix is relevant only when FLAG_SUPPORT_INPUT_WAKEUP_DELEGATE is ON. Flag: com.android.server.policy.support_input_wakeup_delegate Bug: 333762937 Test: atest WindowWakeUpPolicyTests Change-Id: I5804a5adfd51bed12ca02bc3fea13689adbd24a0
Diffstat (limited to 'packages/Shell/src')
0 files changed, 0 insertions, 0 deletions