summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author András Kurucz <kurucz@google.com> 2024-09-13 14:12:06 +0000
committer András Kurucz <kurucz@google.com> 2024-09-23 11:54:44 +0000
commit683c371c3f78f2c39a5ae663b2a92a615aafdf81 (patch)
treeecf6a30a24018a9f045bf0a4ee8a44fcfb623256 /libs/androidfw/ApkParsing.cpp
parent5b3b93fc362e71dca1330c59d80bff1f4dd78310 (diff)
[flexiglass] Hydrate dozeAmount with AOD and DOZE transitions
Previously dozeAmount was updated based on a flow of AOD transitions, which we converted to callbacks, which we converted back to a flow. The flow-callback-flow conversion was working, but reacting only to AOD transitions was not enough, because device is still dozing while it is in low-power mode and nothing is displayed (KeyguardState.DOZING). This was leaving the dozeAmount at `0` while KeyguardState.DOZING was happening, which caused the NSSL to show the full Notification Stack, while a Notification was Pulsing. This CL moves determining the dozeAmount to KeuguardInteractor, and hydrates it with DOZE, and AOD transitions. Fixes: 363981730 Test: manual: check Pulsing and AOD Notifications Flag: com.android.systemui.scene_container Change-Id: I5b64ce7e0518d342f2acc5d31cf8d9f662178ca4
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions