Browse Source

Remove setTitle() call which was causing NPE on orientation change

pull/414/head
Alon Albert 7 years ago
parent
commit
5c37790fcc
  1. 6
      app/src/main/java/org/transdroid/core/gui/settings/PreferenceCompatActivity.java

6
app/src/main/java/org/transdroid/core/gui/settings/PreferenceCompatActivity.java

@ -32,12 +32,6 @@ public class PreferenceCompatActivity extends PreferenceActivity implements AppC
acd.onConfigurationChanged(newConfig); acd.onConfigurationChanged(newConfig);
} }
@Override
public void setTitle(CharSequence title) {
super.setTitle(title);
acd.setTitle(title);
}
@Override @Override
protected void onStop() { protected void onStop() {
super.onStop(); super.onStop();

Loading…
Cancel
Save