Fix bubbles being empty
Bubbles updates the bounds and visibility a bunch which resulted
in multiple pending transactions and the visibility one would get
clobbered resulting in an empty bubbles view.
This CL tracks the state of visibility & bounds in TaskViewTransitions
then if there's a bounds / visibility change that already matches
the state we can skip it.
Test: atest TaskViewTest TaskViewTranstionsTest
Test: manual - open a bubble, collapse it, open it again
=> verify the contents is visible
- add multiple bubbles, select one, drag it to dismiss
=> verify that the next bubble contents is visible
- open a bubble, switch to the overflow, switch back
to the bubble
=> verify that the bubbles contents is visible
Bug: 277257408
Change-Id: I24b8e5ad9f1c68ebb50f6b93b852c98400d5c19e
Loading
Please register or sign in to comment