diff options
author | Dianne Hackborn <hackbod@google.com> | 2011-01-18 17:48:22 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-01-18 17:48:22 -0800 |
commit | 661b6cfb2bcecdd335540db7059e5d8e22c2e79a (patch) | |
tree | 9b6ac497d198cb0a92e11113c267ee119bd87108 /policy | |
parent | ea6a3c706ada7db1abeda609aa5d1ba9209c7f2b (diff) | |
parent | ef57575887bde74ef09e9f21aae6b02f9c8163c7 (diff) | |
download | frameworks_base-661b6cfb2bcecdd335540db7059e5d8e22c2e79a.zip frameworks_base-661b6cfb2bcecdd335540db7059e5d8e22c2e79a.tar.gz frameworks_base-661b6cfb2bcecdd335540db7059e5d8e22c2e79a.tar.bz2 |
Merge "Okay, new plan for dialogs." into honeycomb
Diffstat (limited to 'policy')
-rw-r--r-- | policy/src/com/android/internal/policy/impl/PhoneWindow.java | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindow.java b/policy/src/com/android/internal/policy/impl/PhoneWindow.java index 1d0b633..c313713 100644 --- a/policy/src/com/android/internal/policy/impl/PhoneWindow.java +++ b/policy/src/com/android/internal/policy/impl/PhoneWindow.java @@ -2331,12 +2331,10 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback { if (mAlwaysReadCloseOnTouchAttr || getContext().getApplicationInfo().targetSdkVersion >= android.os.Build.VERSION_CODES.HONEYCOMB) { - if (!hasSetCloseOnTouchOutside()) { - if (a.getBoolean( - com.android.internal.R.styleable.Window_windowCloseOnTouchOutside, - false)) { - setCloseOnTouchOutside(true); - } + if (a.getBoolean( + com.android.internal.R.styleable.Window_windowCloseOnTouchOutside, + false)) { + setCloseOnTouchOutsideIfNotSet(true); } } |