diff options
author | orionlee <orionlee@yahoo.com> | 2019-09-28 13:28:12 -0700 |
---|---|---|
committer | orionlee <orionlee@yahoo.com> | 2019-09-28 13:28:12 -0700 |
commit | 78aecac3cabde5e28d8a97ac7600cebbf217b15c (patch) | |
tree | b49f2ba2cc5fe1ed07437df57cc346b33df8688a | |
parent | 9373b61787a926235080e60b144cf7af66e5ea0a (diff) | |
download | AntennaPod-78aecac3cabde5e28d8a97ac7600cebbf217b15c.zip |
Avoid Cast Initialization UI - prompt restart only when enabled. Make prompt more sticky by being not cancelable.
-rw-r--r-- | app/src/play/java/de/danoeh/antennapod/preferences/PreferenceControllerFlavorHelper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/play/java/de/danoeh/antennapod/preferences/PreferenceControllerFlavorHelper.java b/app/src/play/java/de/danoeh/antennapod/preferences/PreferenceControllerFlavorHelper.java index 6db2ad7b0..0e69da61e 100644 --- a/app/src/play/java/de/danoeh/antennapod/preferences/PreferenceControllerFlavorHelper.java +++ b/app/src/play/java/de/danoeh/antennapod/preferences/PreferenceControllerFlavorHelper.java @@ -32,7 +32,6 @@ public class PreferenceControllerFlavorHelper { return false; } } - displayRestartRequiredDialog(ui.requireContext()); return true; }); } @@ -42,6 +41,7 @@ public class PreferenceControllerFlavorHelper { dialog.setTitle(android.R.string.dialog_alert_title); dialog.setMessage(R.string.pref_restart_required); dialog.setPositiveButton(android.R.string.ok, null); + dialog.setCancelable(false); dialog.show(); } } |