summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMady Mellor <madym@google.com>2021-05-25 16:35:37 -0700
committerMady Mellor <madym@google.com>2021-05-25 17:14:39 -0700
commitbb23cbcb2e747e8f827593536a6ff97bb2b72eed (patch)
tree5f09026acbb589b3e5d19bb8df70d96535f1a068 /tools/aapt2/java/JavaClassGenerator_test.cpp
parente1d070106981adaf5bbb5b34ed3fd920e12140e7 (diff)
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions