Merge "Fix a couple of monkey bugs."
This commit is contained in:
committed by
Android (Google) Code Review
commit
09d74ee21e
@@ -123,13 +123,15 @@ public class RingerVolumePreference extends VolumePreference implements
|
||||
protected void onSampleStarting(SeekBarVolumizer volumizer) {
|
||||
super.onSampleStarting(volumizer);
|
||||
for (SeekBarVolumizer vol : mSeekBarVolumizer) {
|
||||
if (vol != volumizer) vol.stopSample();
|
||||
if (vol != null && vol != volumizer) vol.stopSample();
|
||||
}
|
||||
}
|
||||
|
||||
private void setNotificationVolumeVisibility(boolean visible) {
|
||||
if (mSeekBarVolumizer[0] != null) {
|
||||
mSeekBarVolumizer[0].getSeekBar().setVisibility(
|
||||
visible ? View.VISIBLE : View.GONE);
|
||||
}
|
||||
mNotificationVolumeTitle.setVisibility(visible ? View.VISIBLE : View.GONE);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user