|
|
@ -572,7 +572,9 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
|
|
|
|
Log.i("Preference " + key + "=" + prefs.getAll().get(key));
|
|
|
|
Log.i("Preference " + key + "=" + prefs.getAll().get(key));
|
|
|
|
if ("theme".equals(key) || "beige".equals(key)) {
|
|
|
|
if ("theme".equals(key) || "beige".equals(key)) {
|
|
|
|
finish();
|
|
|
|
finish();
|
|
|
|
if (this.getClass().equals(ActivitySetup.class) || this.getClass().equals(ActivityView.class))
|
|
|
|
if (visible &&
|
|
|
|
|
|
|
|
(this.getClass().equals(ActivitySetup.class) ||
|
|
|
|
|
|
|
|
this.getClass().equals(ActivityView.class)))
|
|
|
|
startActivity(getIntent());
|
|
|
|
startActivity(getIntent());
|
|
|
|
} else if (!this.getClass().equals(ActivitySetup.class) && !visible &&
|
|
|
|
} else if (!this.getClass().equals(ActivitySetup.class) && !visible &&
|
|
|
|
Arrays.asList(FragmentOptions.OPTIONS_RESTART).contains(key))
|
|
|
|
Arrays.asList(FragmentOptions.OPTIONS_RESTART).contains(key))
|
|
|
|