diff options
| author | Mady Mellor <madym@google.com> | 2019-04-18 13:26:18 -0700 |
|---|---|---|
| committer | Mady Mellor <madym@google.com> | 2019-07-09 17:30:56 -0700 |
| commit | 22f2f076d0d223f403b983224c8d45cadf926179 (patch) | |
| tree | ec4cd29a10a3878b238c4d498b1218d15a1b418b /docs/html/sdk/api_diff | |
| parent | f1d559efeb5fe96c4c41962282075fbedac6c36e (diff) | |
When summary is dismissed, don't remove bubble children
Adds to onNotificationRemoveRequested to factor in:
* summary dismissal: in this case the remove isn't intercepted, however, any bubble children in
the children of the group are updated to not be visible in the shade
* summary cancel: in this case if the summary is canceled the bubble
children are also canceled
* REASON_GROUP_SUMMARY_CANCELED - this is the indicator that the child
is being removed because the summary was dismissed, in this case treat
the bubble like its notification has been dismissed
Adds to NotificationManagerService so that NoMan won't remove any notifs
that are FLAG_BUBBLE because of a group summary removal.
Test: atest NotificationManagerServiceTest
Manual Tests:
1) User Dismiss
- add enough bubbles to auto-bundle the notifications
- swipe away the summary
=> Note that the bubbles still exist but now the dot is gone
2) Clear all (repeat above but clear all rather than swipe away)
3) Click on group
- add a group with auto-cancel enabled
- click on the group summary
=> Bubbles from that group should remain but the dot should be gone
Bug: 130250809
Change-Id: I2728152665817a0166cee72d969cbfdabc47067d
Diffstat (limited to 'docs/html/sdk/api_diff')
0 files changed, 0 insertions, 0 deletions
