summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorBeverly <beverlyt@google.com>2020-05-29 10:00:44 -0400
committerBeverly Tai <beverlyt@google.com>2020-06-03 17:32:00 +0000
commitc3c0a4fcb0346034570e8004f9e68a3897e635b0 (patch)
treec690294fcdbb97ed3bb0bd16a08893696a737d4a /tools/aapt2/java/JavaClassGenerator_test.cpp
parent7604a184d9335431d213c3d9f94b745c7966b22f (diff)
Fix notification grouping and section bug
Update HighPriorityProvider to check whether a group summary has a child with high priority - if so, consider the summary high priority. This was implemented for the new pipelne but not for the old pipeline grouping structure. This retains the functionality pre-R where a group of low priority and high priority notifications gets sorted into the "Alerting" section instead of "Silent". In NVHM, guard against summaries appearing after its children in the sorted list of notifications returned by NEM.getVisibleNotifications. Previously, summaries appearing after its children would remove the children from the final notification shade list. Test: atest SystemUITests Fixes: 156407436 Change-Id: Id023047360249370e94085d62705d2977b03056e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions