mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-29 22:24:29 +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) {
|
||||
val audioManager = context.getSystemService(Context.AUDIO_SERVICE) as AudioManager
|
||||
val currentVolume = audioManager.getStreamVolume(AudioManager.STREAM_MUSIC)
|
||||
|
Loading…
x
Reference in New Issue
Block a user