7219adadb05d916874e7edff553dfc34bccf94ef |
|
08-Apr-2016 |
Bryce Lee <brycelee@google.com> |
Add granular control over disabled effects. Currently, we can only wholesale disable effects outside of zen mode. There are some devices that require long running suppression of features. Effects disabling was added previously to support this. However, calling suppression was broken recently on a device where we needed notification suppression, but not calling suppression. This CL remedies this problem by adding more granular disabled effects hints. The NotificationManagerService has been updated to handle these request types and present ZenModeHelper with a unified map of what should be suppressed. Bug: 27992763 Change-Id: I38b4706446dfd6e1c3eb97266dbc3332b250adda
/frameworks/base/services/core/java/com/android/server/notification/ZenLog.java
|
21258a3703fe16b7c4754aec743215f3063bcdac |
|
28-May-2015 |
John Spurlock <jspurlock@google.com> |
Zen: Store notification zen policy per-user. - Keep a zen config per user in NoMan. - Add zen config for all users to xml policy storage mechanism. - Initialize config to default for new secondary users. - Re-evaluate global zen on user switch. - Remove some unused code in NoMan. - Make ZenModeHelper aware of multiple users, keep all configs, add to dump. - Log config diffs in addition to the config itself in ZenLog. Bug: 15845915 Change-Id: Ic847451e5d111c74916def1ea0948db5a76966c9
/frameworks/base/services/core/java/com/android/server/notification/ZenLog.java
|
d9c75dba75ad4742dbaadc34db99d2b76cebca91 |
|
28-Apr-2015 |
John Spurlock <jspurlock@google.com> |
Volume: Simple dialog footer, DND in quick settings. - Show DND tile by default, this is now the only place to manage DND modes / end conditions. - Remove super footer from volume dialog, replace with a simplified version that displays the current mode and allows ending DND. - Remove obsolete text-only footer from codebase. - Migrate remaining volume items into main resource files. - Rename "No interruptions" to "Total silence". - Add new user information banner for "Total silence" - Crude media filtering for Total Silence. (deeper muting changes will be done as a followup) - Disable volume dialog sliders completely if muted due to zen. - Cleanup ZenModePanel: assume embedded mode, remove expandable subhead - Remember "favorite" DND mode inside the DND config panel. - AudioService: consult ringer-mode-delegate before voluming down into silent. - Add new hour options to time-based exit conditions. - Volume dialog visual updates to move closer to final visuals. - Unify ringer=silent with DND. Bug: 19260237 Change-Id: I05d7e001eca3b5125418ec3bc4087d0cb8866717
/frameworks/base/services/core/java/com/android/server/notification/ZenLog.java
|
4f1163c83e79da52b2be7ff6b10163441895bc26 |
|
02-Apr-2015 |
John Spurlock <jspurlock@google.com> |
Zen: Add a new level: alarms-only. Like no-interruptions, but allows alarms. Bug: 19260237 Change-Id: I36bf0a333362256c8e54cd83992cb46c3bcb7f69
/frameworks/base/services/core/java/com/android/server/notification/ZenLog.java
|
a70829946265047ef9798829a176978d578a915c |
|
09-Mar-2015 |
John Spurlock <jspurlock@google.com> |
ZenLog: Track changes to effect suppressorship. Bug: 19656287 Change-Id: Ibbb42bef68f4588beac4ca971db73a19678c2b4c
/frameworks/base/services/core/java/com/android/server/notification/ZenLog.java
|
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac |
|
28-Feb-2015 |
John Spurlock <jspurlock@google.com> |
Remove unused imports in frameworks/base. Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/services/core/java/com/android/server/notification/ZenLog.java
|
530052a2fe3b6a6a4246ce28ab0ced647fe7f470 |
|
30-Nov-2014 |
John Spurlock <jspurlock@google.com> |
Zen: New behavior for built-in downtime + nextalarm conditions. - Downtime: Allow user to enter downtime early, offer as an end condition four hours before downtime starts. Available in either none or priority, regardless of settings configuration. - Downtime: Always exit before next alarm if zen=none. - Downtime: Make more like any other condition provider, remove special status (mostly). - Downtime: New auto-triggering rules, allow triggering after a manual condition ends, once. - Decouple NextAlarm + Downtime providers, allow them to offer their conditions at the same time. - Downtime/NextAlarm: Update conditions if they change while being requested, even if unsubscribed. - Make all three built-in condition providers optional, via config. - New internal helper for runtime config. - Don't follow changes to next alarm, consider the condition false. - Isolate downtime calendar logic into separate class (for testing). - Allow a:bb -> a:bb as a valid downtime range (all day). - Volume dialog: configuration establishes maximum number of visible conditions, including built-ins. - Zen mode panel: avoid widget updates during layout transition. - Zen mode panel: move controller callers to background thread. - Zen mode panel: hide/show/rebind rows instead of adding/removing. - ZenLog: Add downtime autotrigger results. - Volume panel: Smarter refresh on ringer/zen changes. Bug: 16373455 Change-Id: I4f801018ddb0beb6eb9fa03a81c79f7949888a3f
/frameworks/base/services/core/java/com/android/server/notification/ZenLog.java
|
661f2cf45860d2e10924e6b69966a9afe255f28b |
|
17-Nov-2014 |
John Spurlock <jspurlock@google.com> |
VolumeZen: Introduce internal vs external ringer mode. Stabilize mapping between ringer-mode=silent and zen=priority by keeping track of two ringer modes: - Internal ringer mode: Used for underlying stream muting - External ringer mode: Reported to clients The mapping between external ringer mode + zen is: - normal = all - vibrate = all - silent = priority (read-write) or none (read) Changes include: - Remove "zen check" from audio service, back to audio service having no knowledge of zen. - Maintain a new external ringer mode in audio service, this is the ringer mode reported through AudioManager to callers, also mapped to the change intent. - Introduce a "ringer mode delegate" to the local audio manager interface, responsible for observing external / internal mode changes, and making changes if necessary. - Internal ringer mode changes are still interesting to the volume dialog, wire up a callback through the existing IVolumeController interface. - On devices without vibration, the mapping is the same but since no ringer mode change is possible, disable the icon toggle and remove the mute icon when volume=0. - On devices with vibration, volume down presses should pulse the vibrate icon (and vibrate) as a hint that this is as low as the device can go using the keys. Since the mechanics are similar to the existing zen=none hint, pull into shared helper. - Log ringer mode changes to the zen log, include calling package information for issue diagnosis. - Include whether vibration is supported in the audio service dump. - Update the status bar icon policy to use the internal ringer mode, not the external mode (for vibrate icon). - Update the "Muted by <x>" logic, include current suppressor in dumpsys, ensure suppression icon is enabled & !clickable, regardless of zen mode. Bug: 17884168 Bug: 15471679 Bug: 16824970 Change-Id: Ia7d3bb23ce6d1e37b24fb6521d1c1ab9bb8f60c0
/frameworks/base/services/core/java/com/android/server/notification/ZenLog.java
|
cc30c8d729c9d846012ac6dd03c1e51262936e8f |
|
05-Nov-2014 |
John Spurlock <jspurlock@google.com> |
Zen: Add the ability to enter "None" mode during downtime. Updates to the shared config structure and the service backend. Bug: 16373455 Change-Id: I45761690ba6b32eb81c9e2a5c1f2d4adad93e58d
/frameworks/base/services/core/java/com/android/server/notification/ZenLog.java
|
1aad144c8f7ece25d34f3621972f71e36c7af87a |
|
20-Oct-2014 |
Griff Hazen <griff@google.com> |
Disable zen log printouts by default Bug: 18056528 Change-Id: I77359476ff2f67027383fcdb91d2843d040533c7
/frameworks/base/services/core/java/com/android/server/notification/ZenLog.java
|
32fe4c6e642ae8a2b36136e33040e12f88aa5e07 |
|
02-Oct-2014 |
John Spurlock <jspurlock@google.com> |
Disable notification effects during phone calls. Listen for phone call state changes in NoMan, and disable incoming non-call notification effects when non-idle. Bug:17658454 Change-Id: I6f7d66413970fbff6822ab29a12f91cbed068261
/frameworks/base/services/core/java/com/android/server/notification/ZenLog.java
|
dd753c00d5c25600f0c297b9d1e89e2c4b064bc2 |
|
19-Aug-2014 |
John Spurlock <jspurlock@google.com> |
Zen: Remove "allow disable" filter from noman. No longer used by dialer. Bug:15344099 Change-Id: Ib2d00804f671fae520303531e8ccde9e44f817ec
/frameworks/base/services/core/java/com/android/server/notification/ZenLog.java
|
4db0d98b42a723f2e16c6595e85e866fd26c6d98 |
|
13-Aug-2014 |
John Spurlock <jspurlock@google.com> |
Zen: Downtime now a condition provider, persist conditions. - Persist the entire exit condition instead of only the id. - Make downtime a proper condition provider (similar to the existing countdown provider for time-based conditions) - Move all downtime-related items out of ZenModeHelper and into the new condition provider. - Reevaluate downtime more often, when any of its inputs change. - Make sure downtime appears as an available condition in the condition panel when applicable. Bug:16296125 Bug:16211189 Bug:17031767 Change-Id: I1d8269a4e6fe170ce776bf932dbbdfb29dd25dd7
/frameworks/base/services/core/java/com/android/server/notification/ZenLog.java
|
6ac5f8df62a4b6d87cf32797d2886efab8e28226 |
|
18-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Allow user-prioritized packages through in priority mode. Bug:16396715 Change-Id: I115d717e5c25500407d4f7876f070a1497fb2887
/frameworks/base/services/core/java/com/android/server/notification/ZenLog.java
|
8c01d88208e17af01268ea01a08c46c2d2f96721 |
|
28-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Zen: follow independent ringer mode changes. Bug:16624498 Change-Id: Ib623118970a82c8406c714687b1b516378fe7824
/frameworks/base/services/core/java/com/android/server/notification/ZenLog.java
|
c54459fb9469b60d85bff716c5f53c55ba0fc784 |
|
27-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Zen: Remove hardcoded package name filters. Bug:15474885 Change-Id: I282cc3d597b2a8855bcb4e987a11cea04f956bad
/frameworks/base/services/core/java/com/android/server/notification/ZenLog.java
|
6ae82a747c77fbdba45d2deaf127ef068c294aa1 |
|
16-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Add a zen-specific event sink, include in dumpstate. Useful for tracking zen events (since boot) that are too old to be included in the standard log. Change-Id: I91633d35b26091bb18523a76ebdba9d286d0cd41
/frameworks/base/services/core/java/com/android/server/notification/ZenLog.java
|