summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author William Xiao <wxyz@google.com> 2025-02-07 09:54:14 -0800
committer William Xiao <wxyz@google.com> 2025-02-07 16:57:10 -0800
commit4f9ab76ab6c9aea09d554fc56e09e905c739114b (patch)
treef820ed5460f735a992aa6ecd9ec5a66dfe4e8a87 /libs/androidfw/FileStream.cpp
parentf13b68f131965dc048f0c17a1b671419744f079e (diff)
Fix low light triggering on phones when entering doze
Tangor did not have doze/aod so it was not accounted for in the conditions. While DreamManager does explicitly not override doze with the system dream, the doze dream does not start dozing fast enough to prevent the low light code from overriding it with the system dream. This change adjusts the DeviceInactiveCondition to only be true if the device is not dozing or entering dozing to prevent the possibility of entering low light dream when unplugged and entering aod. Bug: 394707567 Fixes: 394707567 Flag: com.android.systemui.glanceable_hub_v2 Test: atest DeviceInactiveConditionTest manually verified on device in dark environment Change-Id: I83f9584940ab3e8a70125ad9dd050e77810465f4
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions