Skip to content
Commit bb23cbcb authored by Mady Mellor's avatar Mady Mellor
Browse files

Fix an issue where the bubble wasn't opening

If a bubble had been dismissed, but the notif was still visible,
when the user clicks on that notif, the onNotificationClick event
can occur before onNotificationBubbleChanged.

This means that we might remove/cancel a notification that is
about to become a bubble, so when onNotificationBubbleChanged is
called there isn't a record to create the bubble with.

This CL fixes this by skipping the removal if it's a bubble notif
where the bubble has been dismissed & the notif canBubble.

Test: atest NotificationManagerServiceTest
Bug: 189149153
Bug: 183732510
Change-Id: I366c3a317fb6d4c38e7547c31ff9d47dc9b4846e
parent e1d07010
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment