OSDN Git Service

DND related restrictions
authorJulia Reynolds <juliacr@google.com>
Fri, 8 Apr 2016 19:27:35 +0000 (15:27 -0400)
committerJulia Reynolds <juliacr@google.com>
Fri, 8 Apr 2016 21:16:10 +0000 (17:16 -0400)
commited783798c3c541cd33bc8860f31928dda351d7ae
treeaf68b2c304803114e6a08502874173eeeef80645
parentdfe0b4df7eb6ac3fc8dee5ad4a07af7ae4237b63
DND related restrictions

- Apps without dnd access cannot call adjuststeamvolume if that will
change the ringer mode
- DND muted streams cannot be unmuted when DND total silence is enabled.

Bug: 27624414
Bug: 25395278
Change-Id: Id10988c42fc6cb6407aa2abcf66cc5c384fe533a
services/core/java/com/android/server/audio/AudioService.java