Skip to content
Commit 675570af authored by Lyn Han's avatar Lyn Han
Browse files

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
parent 275248dd
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