mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-25 05:57:59 +01:00
Update default unmute volume
This commit is contained in:
parent
dfac193974
commit
bd155acbe3
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ class VolumeController(
|
||||||
private val onVolumeChanged: (isMuted: Boolean) -> Unit
|
private val onVolumeChanged: (isMuted: Boolean) -> Unit
|
||||||
) {
|
) {
|
||||||
private var audioManager = context.audioManager
|
private var audioManager = context.audioManager
|
||||||
private var savedVolume = audioManager.getStreamMaxVolume(streamType) / 2
|
private var savedVolume = audioManager.getStreamMaxVolume(streamType)
|
||||||
|
|
||||||
private val currentVolume: Int
|
private val currentVolume: Int
|
||||||
get() = audioManager.getStreamVolume(streamType)
|
get() = audioManager.getStreamVolume(streamType)
|
||||||
|
|
Loading…
Reference in a new issue