Fix checkstyle
This commit is contained in:
parent
d2735607b8
commit
704e9bd7b6
1 changed files with 3 additions and 3 deletions
|
@ -111,12 +111,12 @@ public final class SettingMigrations {
|
|||
public static final Migration MIGRATION_4_5 = new Migration(4, 5) {
|
||||
@Override
|
||||
protected void migrate(final Context context) {
|
||||
boolean brightnessGestureSwitch = sp.getBoolean(
|
||||
final boolean brightnessGestureSwitch = sp.getBoolean(
|
||||
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);
|
||||
|
||||
SharedPreferences.Editor editor = sp.edit();
|
||||
final SharedPreferences.Editor editor = sp.edit();
|
||||
|
||||
if (volumeGestureSwitch) {
|
||||
if (!brightnessGestureSwitch) {
|
||||
|
|
Loading…
Add table
Reference in a new issue