Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/switch_setting_brightness_volume…
Browse files Browse the repository at this point in the history
…' into switch_setting_brightness_volume
  • Loading branch information
ge78fug committed Mar 1, 2023
2 parents e438a18 + fa04c92 commit 040165c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2038,9 +2038,9 @@ private void setupBrightness() {
restoreDefaultBrightness();
} else {
// Do not restore if user has disabled brightness gesture
if (PlayerHelper.getActionForRightGestureSide(activity)
if (!PlayerHelper.getActionForRightGestureSide(activity)
.equals(getString(R.string.brightness_control_key))
|| PlayerHelper.getActionForLeftGestureSide(activity)
&& !PlayerHelper.getActionForLeftGestureSide(activity)
.equals(getString(R.string.brightness_control_key))) {
return;
}
Expand Down

0 comments on commit 040165c

Please # to comment.