Fix pause on volume zero
This commit is contained in:
parent
1ab5db1389
commit
aa92940b9a
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ class VolumeFragment : Fragment(), OnAudioVolumeChangedListener,
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (maxVolume <= 0.0f) {
|
if (maxVolume <= 0.0f) {
|
||||||
|
setPauseWhenZeroVolume(currentVolume < 1)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
volumeSeekBar.setRange(currentVolume, maxVolume)
|
volumeSeekBar.setRange(currentVolume, maxVolume)
|
||||||
|
|
Loading…
Reference in a new issue