mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-23 00:20:32 +00:00
Fix checkstyle
This commit is contained in:
parent
d2735607b8
commit
704e9bd7b6
@ -111,12 +111,12 @@ public final class SettingMigrations {
|
|||||||
public static final Migration MIGRATION_4_5 = new Migration(4, 5) {
|
public static final Migration MIGRATION_4_5 = new Migration(4, 5) {
|
||||||
@Override
|
@Override
|
||||||
protected void migrate(final Context context) {
|
protected void migrate(final Context context) {
|
||||||
boolean brightnessGestureSwitch = sp.getBoolean(
|
final boolean brightnessGestureSwitch = sp.getBoolean(
|
||||||
context.getString(R.string.left_gesture_control_key), true);
|
context.getString(R.string.left_gesture_control_key), true);
|
||||||
boolean volumeGestureSwitch = sp.getBoolean(
|
final boolean volumeGestureSwitch = sp.getBoolean(
|
||||||
context.getString(R.string.right_gesture_control_key), true);
|
context.getString(R.string.right_gesture_control_key), true);
|
||||||
|
|
||||||
SharedPreferences.Editor editor = sp.edit();
|
final SharedPreferences.Editor editor = sp.edit();
|
||||||
|
|
||||||
if (volumeGestureSwitch) {
|
if (volumeGestureSwitch) {
|
||||||
if (!brightnessGestureSwitch) {
|
if (!brightnessGestureSwitch) {
|
||||||
|
Loading…
Reference in New Issue
Block a user