summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Ats Jenk <atsjenk@google.com> 2024-08-01 16:47:35 -0700
committer Ats Jenk <atsjenk@google.com> 2024-08-05 09:47:34 -0700
commitf4da13abc24820afa8a9ec86af77cb0f3ecc409e (patch)
tree892624ffbf841cdcc9578b6aae46d3f83a7b1d9a /libs/androidfw/ObbFile.cpp
parent2e7481d198e55525e7b8d4bcce24eb03fa7aa024 (diff)
Fix potential race issue with removing bubble
When the last bubble is removed while it is expanded, we first hide the scrim and then remove the bubble views. As it takes time for the scrim animation to run, it is possible that another bubble is added between the scrim animation starting and finishing. This puts the BubbleStackView in a bad state where there is a selected bubble, but we have cleared that value from the stack view. Making sure that we only clear the expanded/selected bubble if it has not changed. Bug: 353894869 Flag: EXEMPT bugfix Test: have one bubble open from Messages, force stop the app, check that the bubble is removed Test: artifically slow down the scrim animation, have one bubble from Messages open, force stop the app, trigger a new Messages bubble with incoming sms quickly before the scrim animation completes, verify that new bubble is shown and if clicked, it expands Change-Id: I5593bf889a58b6edfe4c4785f76d72a3b3163877
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions