diff options
author | Steve Block <steveblock@google.com> | 2011-08-04 02:38:31 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-08-04 02:38:31 -0700 |
commit | ffa738f87f1113fc977277767df637a9581fa9a2 (patch) | |
tree | 14464d94ad316600d03730fc6060924018e46831 | |
parent | 5d513105dff9f453872be40f8bed2391396cf9c7 (diff) | |
parent | dc657fa17179878ecf536ad1cb6e8891c4aab29e (diff) | |
download | packages_apps_browser-ffa738f87f1113fc977277767df637a9581fa9a2.zip packages_apps_browser-ffa738f87f1113fc977277767df637a9581fa9a2.tar.gz packages_apps_browser-ffa738f87f1113fc977277767df637a9581fa9a2.tar.bz2 |
Merge "Fix BrowserSettings to apply blockPopupWindows() correctly"
-rw-r--r-- | src/com/android/browser/BrowserSettings.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/browser/BrowserSettings.java b/src/com/android/browser/BrowserSettings.java index 11972ee..b3f7689 100644 --- a/src/com/android/browser/BrowserSettings.java +++ b/src/com/android/browser/BrowserSettings.java @@ -235,7 +235,7 @@ public class BrowserSettings implements OnSharedPreferenceChangeListener, settings.setTextZoom(getTextZoom()); settings.setAutoFillEnabled(isAutofillEnabled()); settings.setLayoutAlgorithm(getLayoutAlgorithm()); - settings.setJavaScriptCanOpenWindowsAutomatically(blockPopupWindows()); + settings.setJavaScriptCanOpenWindowsAutomatically(!blockPopupWindows()); settings.setLoadsImagesAutomatically(loadImages()); settings.setLoadWithOverviewMode(loadPageInOverviewMode()); settings.setSavePassword(rememberPasswords()); |