summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorLyn Han <lynhan@google.com>2020-06-05 23:31:22 -0700
committerLyn Han <lynhan@google.com>2020-06-09 17:54:55 +0000
commit675570af1dcf9fa5827b8dddc6e79319c2565e80 (patch)
tree0f9ba105b1c0eacbd0e879cc7d175fec4055bebb /tools/aapt2/java/JavaClassGenerator.cpp
parent275248ddfe83f8349d291da06c7189c95c94a7e2 (diff)
Suppress bubble notifs instead of cancel
Bubble notifs in the Launcher icon popup can't be swiped away because NotificationManagerService skips bubble notifs during cancellation. This change suppresses the notif instead of skipping it, which results in a post event. ag/11727210 set canShowBadge=false for suppressed notifs. Launcher removes notifs with canShowBadge=false, so it will remove the suppressed notif upon receiving the post event. Fixes: 131926652 Test: atest NotificationManagerServiceTest Test: manual 1) Have notif in shade with bubble 2) Swipe notif away in launcher popup 3) Shade notif goes away Change-Id: I6609d1209be6686c9286f939bf420d4f09351af4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions