Merge "Volume: Ensure ring/notif slider is enabled when ringer=vibrate." into lmp-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
2ee054b4f0
@@ -793,7 +793,7 @@ public class VolumePanel extends Handler implements DemoMode {
|
||||
sc.icon.setAlpha(mDisabledAlpha);
|
||||
sc.icon.setClickable(false);
|
||||
} else if (fixedVolume ||
|
||||
(sc.streamType != mAudioManager.getMasterStreamType() && muted) ||
|
||||
(sc.streamType != mAudioManager.getMasterStreamType() && !isRinger && muted) ||
|
||||
(sSafetyWarning != null)) {
|
||||
sc.seekbarView.setEnabled(false);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user