diff options
author | Steve Block <steveblock@google.com> | 2011-08-03 19:27:13 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2011-08-03 19:27:13 +0100 |
commit | dc657fa17179878ecf536ad1cb6e8891c4aab29e (patch) | |
tree | b670ad68f566bac3dd7bc824c6e5aa61593ead75 /src | |
parent | 7cff891f31311139e215e3948198843bcafd6137 (diff) | |
download | packages_apps_browser-dc657fa17179878ecf536ad1cb6e8891c4aab29e.zip packages_apps_browser-dc657fa17179878ecf536ad1cb6e8891c4aab29e.tar.gz packages_apps_browser-dc657fa17179878ecf536ad1cb6e8891c4aab29e.tar.bz2 |
Fix BrowserSettings to apply blockPopupWindows() correctly
This setting got inverted in
https://android-git.corp.google.com/g/#change,107420
Bug: 5114572
Change-Id: Iaba01a668ca7e48b1629483c447d62e2b71f1bcb
Diffstat (limited to 'src')
-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 35393ac..134e4c6 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()); |