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

Commit 8b95c615 authored by Robert Horvath's avatar Robert Horvath
Browse files

Fix TV privacy icon transition getting stuck

If `collapseChips` is called when all chips are already collapsed,
`beginDelayedTransition` would not see any UI updates and no transition
would start. If a transition was already in progress, that transition
would be paused, which could lead to the privacy items visually stuck on
screen during the fade out transition.

This change first checks whether a UI change needs to be made (whether
there are any chips to collapse) before calling
`beginDelayedTransition` to avoid pausing any currently ongoing
transition.

Bug: 288546065
Test: manual, with increased animator_duration_scale
Change-Id: Ic4d2d0dff143d4966f8fdc29fc1e4a66e6604712
parent 45527db9
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