diff options
author | Keith Mok <kmok@cyngn.com> | 2016-05-24 15:30:28 -0700 |
---|---|---|
committer | Keith Mok <kmok@cyngn.com> | 2016-05-24 15:32:34 -0700 |
commit | e3b9678622a0e3d6a91c9261b948a438f52b7f8b (patch) | |
tree | 6f1a950866b109825e6e46b76360d4c1af706886 | |
parent | d48e7e93555b88749d6204ba6fd430aafc8cce30 (diff) | |
download | packages_apps_Settings-e3b9678622a0e3d6a91c9261b948a438f52b7f8b.zip packages_apps_Settings-e3b9678622a0e3d6a91c9261b948a438f52b7f8b.tar.gz packages_apps_Settings-e3b9678622a0e3d6a91c9261b948a438f52b7f8b.tar.bz2 |
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
-rw-r--r-- | src/com/android/settings/DevelopmentSettings.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/settings/DevelopmentSettings.java b/src/com/android/settings/DevelopmentSettings.java index 04e28e7..cfdf921 100644 --- a/src/com/android/settings/DevelopmentSettings.java +++ b/src/com/android/settings/DevelopmentSettings.java @@ -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(); } |