mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-22 02:53:09 +01:00
Update app/src/main/java/org/schabi/newpipe/fragments/detail/VideoDetailFragment.java
Co-authored-by: Stypox <stypox@pm.me>
This commit is contained in:
parent
7689d1d15c
commit
3c72992c39
@ -2013,9 +2013,9 @@ public final class VideoDetailFragment
|
|||||||
restoreDefaultBrightness();
|
restoreDefaultBrightness();
|
||||||
} else {
|
} else {
|
||||||
// Do not restore if user has disabled brightness gesture
|
// Do not restore if user has disabled brightness gesture
|
||||||
if (PlayerHelper.getActionForRightGestureSide(activity)
|
if (!PlayerHelper.getActionForRightGestureSide(activity)
|
||||||
.equals(getString(R.string.brightness_control_key))
|
.equals(getString(R.string.brightness_control_key))
|
||||||
|| PlayerHelper.getActionForLeftGestureSide(activity)
|
&& !PlayerHelper.getActionForLeftGestureSide(activity)
|
||||||
.equals(getString(R.string.brightness_control_key))) {
|
.equals(getString(R.string.brightness_control_key))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user