diff options
author | Tao Bai <michaelbai@google.com> | 2014-09-12 12:46:55 -0700 |
---|---|---|
committer | Tao Bai <michaelbai@google.com> | 2014-09-12 16:13:10 -0700 |
commit | 934dfe5246cd151ffd60eb6277088f58f657b81c (patch) | |
tree | ce54e1027d2b591ed5567c45992481ba55673199 /src/com/android/browser/BrowserSettings.java | |
parent | 126b5b3a771fbcf1a4acd1700c8cfa22975f22df (diff) | |
download | packages_apps_Browser-934dfe5246cd151ffd60eb6277088f58f657b81c.zip packages_apps_Browser-934dfe5246cd151ffd60eb6277088f58f657b81c.tar.gz packages_apps_Browser-934dfe5246cd151ffd60eb6277088f58f657b81c.tar.bz2 |
Accept third party cookies if cookie setting is enabled by user
BUG:17474704
Change-Id: I8f9f17887cf65c1c5465b576dcf094784266b15b
Diffstat (limited to 'src/com/android/browser/BrowserSettings.java')
-rw-r--r-- | src/com/android/browser/BrowserSettings.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/browser/BrowserSettings.java b/src/com/android/browser/BrowserSettings.java index cafd019..586db28 100644 --- a/src/com/android/browser/BrowserSettings.java +++ b/src/com/android/browser/BrowserSettings.java @@ -311,6 +311,9 @@ public class BrowserSettings implements OnSharedPreferenceChangeListener, mNeedsSharedSync = false; CookieManager.getInstance().setAcceptCookie(acceptCookies()); if (mController != null) { + for (Tab tab : mController.getTabs()) { + tab.setAcceptThirdPartyCookies(acceptCookies()); + } mController.setShouldShowErrorConsole(enableJavascriptConsole()); } } |