Call stopInflation() on bubbles we're removing.
Bubbles that cancel themselves in onCreate (and less frequently, onResume) are sometimes removed before inflation finishes. Then, when inflation does finish, we call notificationEntryUpdated in the callback at BubbleController#1106 which re-adds the bubble while it's being removed. This resulted in unpredictably inconsistent states between BubbleData and BubbleStackView, causing a variety of pretty bad issues. Test: modified bubble test app to cancel its own notifications in onCreate/onResume Bug: 159861400 Change-Id: I9716dc60bd664b612437906af1d5c76f9f0755ff
Loading
Please register or sign in to comment