Browse Source

Remove unnecessary ClickListener classes

master
Anthony Restaino 9 years ago
parent
commit
c65cccb25c
  1. 24
      app/src/main/java/acr/browser/lightning/fragment/AdvancedSettingsFragment.java

24
app/src/main/java/acr/browser/lightning/fragment/AdvancedSettingsFragment.java

@ -164,13 +164,7 @@ public class AdvancedSettingsFragment extends PreferenceFragment implements Pref @@ -164,13 +164,7 @@ public class AdvancedSettingsFragment extends PreferenceFragment implements Pref
}
}
});
picker.setNeutralButton(getResources().getString(R.string.action_ok),
new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
}
});
picker.setNeutralButton(getResources().getString(R.string.action_ok), null);
picker.show();
}
@ -187,13 +181,7 @@ public class AdvancedSettingsFragment extends PreferenceFragment implements Pref @@ -187,13 +181,7 @@ public class AdvancedSettingsFragment extends PreferenceFragment implements Pref
textEncoding.setSummary(Constants.TEXT_ENCODINGS[which]);
}
});
picker.setNeutralButton(getResources().getString(R.string.action_ok),
new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
}
});
picker.setNeutralButton(getResources().getString(R.string.action_ok), null);
picker.show();
}
@ -212,13 +200,7 @@ public class AdvancedSettingsFragment extends PreferenceFragment implements Pref @@ -212,13 +200,7 @@ public class AdvancedSettingsFragment extends PreferenceFragment implements Pref
}
}
});
picker.setNeutralButton(getResources().getString(R.string.action_ok),
new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
}
});
picker.setNeutralButton(getResources().getString(R.string.action_ok), null);
picker.show();
}
}

Loading…
Cancel
Save