Add API to SettingsManager to set zen mode.

- Add a new permission cyanogenmod.permission.MODIFY_SOUND_SETTINGS.
- Only allowed when the caller holds
  cyanogenmod.permission.MODIFY_SOUND_SETTINGS.
- Allows the user to set zen mode to the off, priority interruptions
  only, or no interruptions modes.
- For each mode change, the end condition will be set to null so that
  the mode remains active indefinitely.

Change-Id: Id465509a8cc8d98953bf8cbe06cacff02b9f75a0
9 files changed
tree: 75cb5eaa08cbe817f47ff6a1099b708329d548d2
  1. api/
  2. cm/
  3. samples/
  4. src/
  5. system-api/
  6. tests/
  7. Android.mk
  8. org.cyanogenmod.platform.xml
  9. README.md
README.md

WIKI

For any inquiries regarding this project, please reference the wiki