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/VisibilityExtractor.java
|
baff400fa5a93d157934818982fcf534327f9830 |
|
15-Dec-2016 |
Julia Reynolds <juliacr@google.com> |
Add badging support for channels. In this iteration badges are a user opt in feature. Known issue: all listeners will receive 'badge only' notifications. Test: runtest systemui-notification Change-Id: Ic7450bf4de5351cfdc72bd96ec946fe6e035035c
/frameworks/base/services/core/java/com/android/server/notification/VisibilityExtractor.java
|
b5e44b796618c376cf535e43aaa86ea4522e7770 |
|
16-Aug-2016 |
Julia Reynolds <juliacr@google.com> |
Add Notification channels In this iteration: -Every app gets a default channel that notifications will be posted to if they don't specify a channel themselves. The default channel inherits app-wide settings on upgrade. -Apps can create new channels without user approval, but apps cannot change the name of a channel once created, nor can they ever set the importance. - When a notification is posted: - If the channel is marked as 'vibrates', vibration will be applied to notifications that lack a vibration. unlike the default notification flag, notifications will retain their custom vibration if given - Same with sound and lights - A notification's importance is the min of the app and channel importance - A notification can bypass dnd if: either the app or channel settings say it can - A notification's show on lockscreen setting comes from the app first, and the channel second if the app has no preference Tests: in cl. also there's a cl for cts and a test app. Change-Id: I630f99df655800b00586dcfab538d320d04fe0f0
/frameworks/base/services/core/java/com/android/server/notification/VisibilityExtractor.java
|
ef37f284364cc45c2ed91bfe04c489d2cedd32d2 |
|
12-Feb-2016 |
Julia Reynolds <juliacr@google.com> |
Remove Notification Topics. Bug: 23220370 Change-Id: Ifbcdbab1cf6974c192483091512f75762784a98e
/frameworks/base/services/core/java/com/android/server/notification/VisibilityExtractor.java
|