diff options
author | John Spurlock <jspurlock@google.com> | 2015-02-18 11:58:14 -0500 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2015-02-18 20:48:26 -0500 |
commit | bbfd31a5d4f126167e20fa8bd256c810cf8c2c85 (patch) | |
tree | 39df4b4ce2919465b8983000473ffefd6db7b581 /core/java/android/widget/TextView.java | |
parent | fadfc4e11b86d2f66dd56f10120840b772da3bc8 (diff) | |
download | frameworks_base-bbfd31a5d4f126167e20fa8bd256c810cf8c2c85.zip frameworks_base-bbfd31a5d4f126167e20fa8bd256c810cf8c2c85.tar.gz frameworks_base-bbfd31a5d4f126167e20fa8bd256c810cf8c2c85.tar.bz2 |
AudioAttributes: introduce new flags to bypass audio restrictions.
- New @hidden @SystemApi FLAG_BYPASS_INTERRUPTION_POLICY, request
to ignore any current audio restrictions, such as zen mode
content-based notification filtering.
- Wire up FLAG_BYPASS_INTERRUPTION_POLICY to the existing
audio restriction checks in the framework.
- New @hidden @SystemApi FLAG_BYPASS_MUTE, request to play
audibly, even if the underlying stream is muted.
- Wiring up to audio framework TBD.
- Use both of these new flags on the inline volume slider
controls used in Settings, ensuring playback is heard
regardless of the current device filter state.
Bug: 19407114
Change-Id: I3d44394931592ccbc1b61ddd9a4d1cc984da17cc
Diffstat (limited to 'core/java/android/widget/TextView.java')
0 files changed, 0 insertions, 0 deletions