diff options
author | Gus Prevas <kprevas@google.com> | 2018-12-03 15:49:06 -0500 |
---|---|---|
committer | Gus Prevas <kprevas@google.com> | 2018-12-05 10:54:51 -0500 |
commit | 2c963d258d6240687d4225b1682da633b07a73ce (patch) | |
tree | d33524fe9b2f492fb09d3c0ceeadac00f196b9d0 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | afafd66da28a3bf48ce63df5c8309600572ea2cc (diff) |
Changes notification ordering for new interruption model.
This change modifies NotificationComparator such that when the new
interruption model is enabled, notifications are sorted with the
primary criterion being whether they are importance >= DEFAULT,
outweighing other criteria that are currently considered first
(colorization, ongoingness, messaging, people). This allows us
to ensure that high priority (>= DEFAULT) and low priority
(< DEFAULT) notifications are contiguous so that thedisplay of them
as two distinct groups makes sense.
Test: atest NotificationComparatorTest
Change-Id: Ifa1405546b75b9da4b8411f861675cd47793785c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions