summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2011-08-03 19:27:13 +0100
committerSteve Block <steveblock@google.com>2011-08-03 19:27:13 +0100
commitdc657fa17179878ecf536ad1cb6e8891c4aab29e (patch)
treeb670ad68f566bac3dd7bc824c6e5aa61593ead75 /src
parent7cff891f31311139e215e3948198843bcafd6137 (diff)
downloadpackages_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.java2
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());