diff options
author | Jay Aliomer <aaliomer@google.com> | 2019-09-19 16:42:16 -0400 |
---|---|---|
committer | Jay Aliomer <aaliomer@google.com> | 2019-10-08 11:15:16 -0400 |
commit | efe1c928b38ffed248d6887366371f1b0a12d7e1 (patch) | |
tree | 6eef7a7a4ac6cf7b7a2a68218ccff1fd4c135712 /tests/Codegen/src/com/android/codegentest/SampleDataClass.java | |
parent | 0cdb7e9570cacec4069f5ddc03a457f2f40d4f20 (diff) |
"Clear all" causes auto-grouped persistent notifications losing the group summary
When an automatically generated notification group has 4+ persistent
notifications, hitting "clear all" will cause the group to lose its
automatically generated group summary notification. The solution is to
count the number of notifications belonging to a specific group as well
as the number of ongoing notifications. if the number of grouped
notifications > min before grouping limit & the group has at least one
ongoing notification, then the group summary notification will be marked
as ongoing with the flag FLAG_ONGOING_EVENT. otherwise the flag will
be removed.
Bug: 129562864
Change-Id: I65412935fbb4a74de6ac4cf159d4fd2ebe96dae8
Fix: 129562864
Test: atest NotificationManagerServiceTest
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleDataClass.java')
0 files changed, 0 insertions, 0 deletions