summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Alejandro Nijamkin <nijamkin@google.com> 2024-12-04 16:16:17 -0800
committer Alejandro Nijamkin <nijamkin@google.com> 2024-12-06 15:16:02 -0800
commitc24a427c20d4d07a12833d1cb24aab902b3ea35b (patch)
tree79c538f4913d99c788a7ac73c7c09324d1f18829 /libs/androidfw/StringPool.cpp
parentb5664e8e30555c8f647f461dbb27bd9a3862b66f (diff)
[flexiglass] Don't emit from sharedFlowWithState when CANCELED
The attached bug occurs when the state originating from the CANCELED of LockscreenToPrimaryBouncerTransitionViewModel is received downstream in DeviceEntryIconViewModel _after_ the correct value from PrimaryBouncerToLockscreenTransitionViewModel is received. This causes the alpha of the lock indication view to remain at 0 rather than at 1. See the long comment in the changed code for more details about why we should filter out values that come from CANCELED, when Flexiglass is on. Fix: 379845752 Test: manually verified that the original bug is fixed when Flexiglass is on Test: manually verified that swiping completely to Bouncer and returning to the lockscreen shows the icon, Flexiglass on Test: unlocked the the device, relocked, and repeated the steps above - Flexiglass on Test: manually verified all of the above also when Flexiglass is off Flag: com.android.systemui.scene_container Change-Id: I12be2d0a79ecbf89e6282753c8b8c965ac3839fd
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions