aboutsummaryrefslogtreecommitdiff
path: root/sdk/src/java/cyanogenmod/preference/ConstraintsHelper.java
diff options
context:
space:
mode:
authorGabriele M <moto.falcon.git@gmail.com>2017-09-17 16:44:50 +0200
committerdoc HD <doc.divxm@gmail.com>2017-09-18 10:44:20 +0300
commit188e7f292537eecd215cee62cd568823c11700eb (patch)
tree08ac00eb05630b191ef40110592539fafffb4ebe /sdk/src/java/cyanogenmod/preference/ConstraintsHelper.java
parent68eb3e1e4e05c2602d8fa00a873c66c59cddaa4c (diff)
cmsdk: Don't change ring volume or mode if DND is enabled
Profiles that override the ring volume or mode can disable DND, but this is not what the user would expect. Ensure that DND never gets disabled when changing profile and postpone the ring mode and volume overrides to when DND gets disabled. This allows to give DND an higher priority and at the same have the overrides of the current profile always applied. Change-Id: I065c8df5be924ade63d943414a6da1c29baa3a20
Diffstat (limited to 'sdk/src/java/cyanogenmod/preference/ConstraintsHelper.java')
0 files changed, 0 insertions, 0 deletions