no need to override methods with nothing
This commit is contained in:
parent
d85a2e87c9
commit
237366cd27
|
@ -55,14 +55,6 @@ public class SettingsPreferences
|
|||
init();
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
protected void onResume() {
|
||||
|
||||
super.onResume();
|
||||
|
||||
}
|
||||
|
||||
private void init ()
|
||||
{
|
||||
int SET_LOCALE_IDX = 3;
|
||||
|
@ -116,29 +108,9 @@ public class SettingsPreferences
|
|||
|
||||
|
||||
|
||||
@Override
|
||||
protected void onPause() {
|
||||
|
||||
super.onPause();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see android.app.Activity#onStop()
|
||||
*/
|
||||
@Override
|
||||
protected void onStop() {
|
||||
super.onStop();
|
||||
|
||||
}
|
||||
|
||||
public boolean onPreferenceClick(Preference preference) {
|
||||
|
||||
setResult(RESULT_OK);
|
||||
|
|
|
@ -30,12 +30,6 @@ public class ChooseLocaleWizardActivity extends Activity implements OrbotConstan
|
|||
{
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onStart() {
|
||||
|
||||
super.onStart();
|
||||
setContentView(R.layout.layout_wizard_locale);
|
||||
|
||||
|
||||
|
@ -106,21 +100,6 @@ public class ChooseLocaleWizardActivity extends Activity implements OrbotConstan
|
|||
Locale.setDefault(locale);
|
||||
config.locale = locale;
|
||||
getResources().updateConfiguration(config, getResources().getDisplayMetrics());
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onRestoreInstanceState(Bundle savedInstanceState) {
|
||||
super.onRestoreInstanceState(savedInstanceState);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onSaveInstanceState(Bundle outState) {
|
||||
super.onSaveInstanceState(outState);
|
||||
|
||||
}
|
||||
|
||||
//Code to override the back button!
|
||||
|
|
Loading…
Reference in New Issue