Handle adjust volume user restriction
- Finish all do not disturb pages immediately - Disable relevant items in Sounds & notification Bug: 21642285 Change-Id: I8de9bd10b8cea8adaa306b1ae388ab7d1ccc4e7e
This commit is contained in:
@@ -139,6 +139,10 @@ public class VolumeSeekBarPreference extends SeekBarPreference
|
||||
updateIconView();
|
||||
mCallback.onStreamValueChanged(mStream, mSeekBar.getProgress());
|
||||
updateSuppressionText();
|
||||
if (!isEnabled()) {
|
||||
mSeekBar.setEnabled(false);
|
||||
mVolumizer.stop();
|
||||
}
|
||||
}
|
||||
|
||||
// during initialization, this preference is the SeekBar listener
|
||||
|
Reference in New Issue
Block a user