summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Beverly <beverlyt@google.com> 2023-11-29 20:29:08 +0000
committer Beverly Tai <beverlyt@google.com> 2023-11-30 17:34:21 +0000
commit544725f5fc1dbe82520698e8fb32fb103aca26d1 (patch)
treed1e9ece4ca5d1b0fb00b9893aa32cb45ae6b8036 /libs/androidfw/FileStream.cpp
parent3fc09fe3f8c47f2c6cc720c3215134b4c6fb05e7 (diff)
Fix legacy udfps occluded state transitions
In the udfps legacy code, add support for occluded <=> AOD transitions which were previously unsupported and would put the udfps UI in the wrong state. Also fix the transition from AOD => Occluded after a cancellation of a AOD => LS transition. For example the following sequence of transitions when the user is double pressing the power button to show the camera: START: AOD => Lockscreen (first power button press) CANCEL: AOD => Lockscreen (second power button press) START: Lockscreen => Occluded In this case, ensure the doze amount is appropriately updated to 0f. Test: atest SystemUITests Test: atest UdfpsKeyguardViewLegacyControllerWithCoroutinesTest Test: Show the camera app over the lockscreen & then transition to AOD. Observe that the AOD udfps icon shows, not the LS version Fixes: 313963031 Fixes: 313954401 Flag: NONE Change-Id: I2b3c3759001dd51d4374456511d27f5552ec0b76 Change-Id: I055fee4ea35420211b6e68eb77130ab47864e3a0
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions