From 5c37790fcc7e111f9e0d87fde3a9199e9845a730 Mon Sep 17 00:00:00 2001 From: Alon Albert Date: Tue, 30 Jan 2018 09:27:06 +0200 Subject: [PATCH] Remove setTitle() call which was causing NPE on orientation change --- .../core/gui/settings/PreferenceCompatActivity.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/src/main/java/org/transdroid/core/gui/settings/PreferenceCompatActivity.java b/app/src/main/java/org/transdroid/core/gui/settings/PreferenceCompatActivity.java index b6b713da..6553f068 100644 --- a/app/src/main/java/org/transdroid/core/gui/settings/PreferenceCompatActivity.java +++ b/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); } - @Override - public void setTitle(CharSequence title) { - super.setTitle(title); - acd.setTitle(title); - } - @Override protected void onStop() { super.onStop();