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

Loading…
Cancel
Save