Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e3b96786 authored by Keith Mok's avatar Keith Mok
Browse files

Settings: Disable cancelable with multi-windows confirm dialog

When muliti-windows confirm dialog is dismissed by back button,
the status will become inconsistent.

Change-Id: Ie00099dce395f08d9ad782482863f2120977d240
parent d48e7e93
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1792,6 +1792,7 @@ public class DevelopmentSettings extends SettingsPreferenceFragment
                .setMessage(R.string.confirm_enable_multi_window_text)
                .setPositiveButton(R.string.enable_text, onConfirmListener)
                .setNegativeButton(android.R.string.cancel, onConfirmListener)
                .setCancelable(false)
                .create()
                .show();
    }