Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c24a427c authored by Alejandro Nijamkin's avatar Alejandro Nijamkin
Browse files

[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
parent b5664e8e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment