mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-05-01 23:24:34 +02:00
Merge branch 'brightness-fix' into 'master'
Restore Overlay Brightness When Re-entering Full Screen See merge request videostreaming/grayjay!84
This commit is contained in:
commit
f350dc83b8
@ -755,10 +755,6 @@ class GestureControlView : LinearLayout {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Settings.instance.gestureControls.useSystemBrightness) {
|
|
||||||
_brightnessFactor = 1.0f;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (Settings.instance.gestureControls.useSystemVolume) {
|
if (Settings.instance.gestureControls.useSystemVolume) {
|
||||||
val audioManager = context.getSystemService(Context.AUDIO_SERVICE) as AudioManager
|
val audioManager = context.getSystemService(Context.AUDIO_SERVICE) as AudioManager
|
||||||
val currentVolume = audioManager.getStreamVolume(AudioManager.STREAM_MUSIC)
|
val currentVolume = audioManager.getStreamVolume(AudioManager.STREAM_MUSIC)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user