History log of /frameworks/base/services/core/java/com/android/server/notification/BadgeExtractor.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ccc6ae64ff1dd957fabb24b3c889a69d2d42765d 01-Mar-2018 Julia Reynolds <juliacr@google.com> Expand the visual effects that DND can suppress.

Additionally default to disabling all visual effects when DND is on,
to gather dogfood feedback.

The 'dnd has changed' notification will be reposted after this
CL and has updated text.

Test: runtest systemui-notification
Bug: 74075050
Change-Id: I5bec8ccc6456d98112907b0264ecd52734983984
/frameworks/base/services/core/java/com/android/server/notification/BadgeExtractor.java
c861a3ddbc9b6cb193e71dbb5da6162d119e2e98 15-Feb-2018 Julia Reynolds <juliacr@google.com> Optionally supress status bar notifications in dnd

If 'allow visual signals -> when the screen is on' is off.

Test: runtest systemui-notification and manual - confirm triggering
dnd hides icons of existing notifications; confirm icons return when dnd
is turned off, verify new icons are hidden when dnd is on, confirm
supressed notification doesn't re-alert when dnd turned off.
Bug: 73455127
Change-Id: If6e5035d6563c70de77604196ea37a16118847a7
/frameworks/base/services/core/java/com/android/server/notification/BadgeExtractor.java
eb3dca71b5df7fdf6299a3e65eb5d6fe8cb7bcbc 11-Jul-2017 Julia Reynolds <juliacr@google.com> Send less ranking reconsiderations and updates

- NotificationIntrusivenessExtractor does not need to reconsider
ranking for non intrusive notifications
- All adjustments (by group helper and the assistant) have been moved to
extractors so we can selectively send ranking updates instead of always
sending them.

Fixes: 62827235
Test: runtest systemui-notification
Change-Id: I2ea746c3883049abac0752788a3f4c2fa50c8064
/frameworks/base/services/core/java/com/android/server/notification/BadgeExtractor.java
89aa2261903fd09b08a2210a7a1b35d329f8330a 06-May-2017 Chris Wren <cwren@google.com> add a global control for badging

Content observer callbacks don't specify the user,
so scan all the users we know about. User switches
will also trigger an update which will explicitly
check the setting for the (now) current user.

Migrate tests to TestableContext to allow the test
to safely override secure settings.

Bug: 36021111
Test: runtest systemui-notification
Change-Id: I588068382912955da114cc351df7a1e7b4f0733f
/frameworks/base/services/core/java/com/android/server/notification/BadgeExtractor.java
a5d2f235add2b8c1e4199918b5fc18040e8af434 24-Feb-2017 Julia Reynolds <juliacr@google.com> Send ranking update on channel update.

Change-Id: I26aca0f27df0fca549d863ed6a5fac2c5b025907
Fixes: 35623384
Test: manual, runtest systemui-notification
/frameworks/base/services/core/java/com/android/server/notification/BadgeExtractor.java
924eed1ca6d3fec5dae7eb0f9c11b8f23f628697 19-Jan-2017 Julia Reynolds <juliacr@google.com> Add updatable fields to Ranking

- NotificationChannel
- Badging

Test: runtest systemuinotification & cts

Change-Id: I7fd1f2dc06148927e9a4bd5b760d436e2c5e8a98
/frameworks/base/services/core/java/com/android/server/notification/BadgeExtractor.java