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
Loading
Please register or sign in to comment