summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMady Mellor <madym@google.com>2020-05-13 11:34:50 -0700
committerMady Mellor <madym@google.com>2020-05-26 14:02:36 -0700
commitdb0a602465561183c920c5b0596e8051d076baa4 (patch)
tree179795f37e3e1bfce9792c065ca76842c79ef9a9 /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta55133daa73bbe5722762b1736518f17b7fb521e (diff)
canBubble only true when it can actually bubble
If the notif is unable to present as a bubble: - set the record#canBubble value to false - null out bubble metadata if present (we show bubble button if there is metadata, so shouldn't show it if it can't present for some reason) Because bubble metadata is now null'd out we don't have the shortcutId to check / update the tracked shortcut list, so instead if it's null check for that entry in the list and remove it. Also fixes one spot where we weren't unregistering the listener before and adds a test for it. Test: atest ShortcutHelperTest BubbleExtractorTest NotificationManagerServiceTest Bug: 152883583 Change-Id: I29e993c01a8fb9fcdf2386b18a94adc712fe101f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions