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

Commit 88d438f8 authored by Ioana Alexandru's avatar Ioana Alexandru
Browse files

[flexiglass] Remove usages of transitionValue with deprecated states

When transitionValue is called with a state that is modeled as a scene
or overlay in flexiglass, it ends up bundling them all up together as
UNDEFINED. This means that states like OCCLUDED and GONE were actually
"any state that's not defined in KTF", including things like BOUNCER,
leading to incorrect transition values.

There are currently a few known transition bugs related to this, all
coming from the OCCLUDED check in SharedNotificationContainerViewModel,
but this will be an issue for every other usage of transitionValue with
a deprecated state, so I updated all the usages I could find to
hopefully prevent other similar issues.

Fix: 440600291
Fix: 440669658
Flag: com.android.systemui.scene_container
Test: tested manually + existing unit tests pass
Change-Id: Iaafc40730e4cb0594278d9ccc0b4e7c66d7acc93
parent 66ec497d
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