mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-08-03 14:50:49 +00:00
This commit is contained in:
parent
d040b93ca9
commit
bfd5f24f4c
1 changed files with 0 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue