diff options
author | John Spurlock <jspurlock@google.com> | 2014-02-13 12:52:19 -0500 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2014-02-27 11:53:30 -0500 |
commit | e677d7113f6627161653f686b6381d2eef4d502f (patch) | |
tree | b00c08df78f346475cba74e15d60d818dacfcf5f /nfc-extras | |
parent | 94b5ca811e5716bddb4a4d86df35c29bb9165e5f (diff) | |
download | frameworks_base-e677d7113f6627161653f686b6381d2eef4d502f.zip frameworks_base-e677d7113f6627161653f686b6381d2eef4d502f.tar.gz frameworks_base-e677d7113f6627161653f686b6381d2eef4d502f.tar.bz2 |
Introduce zen mode.
- New global zen mode setting with three values:
ZEN_MODE_OFF, ZEN_MODE_LIMITED, ZEN_MODE_FULL
- Status bar icon (on lhs) when in _LIMITED / _FULL
- Rules are hardcoded for now:
_LIMITED = intercept all notifications except calls/alarms
_FULL = intercept everything
- UI affordance in shade to set mode
- Only one exit condition: "Until you delete this"
- Intercepted notifications:
- appear darker in the shade
- do not cause sound/vibration
- do not fire fullScreenIntents
- do not contribute an icon to the status bar
Change-Id: Ic36c95982b483432006bf9dab102a31370382aa9
Diffstat (limited to 'nfc-extras')
0 files changed, 0 insertions, 0 deletions