diff options
author | John Reck <jreck@google.com> | 2012-06-05 09:22:59 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2012-06-14 13:32:07 -0700 |
commit | 38b3965028e4ac433de9d43c02d3167ff0ef208c (patch) | |
tree | 231187b7128fffe0ed6d54591eb9c544ab4abe9d /src/com/android/browser/UrlHandler.java | |
parent | c41c31925e30a989f12e2e20bfd6714e9975a0b1 (diff) | |
download | packages_apps_Browser-38b3965028e4ac433de9d43c02d3167ff0ef208c.zip packages_apps_Browser-38b3965028e4ac433de9d43c02d3167ff0ef208c.tar.gz packages_apps_Browser-38b3965028e4ac433de9d43c02d3167ff0ef208c.tar.bz2 |
Disable URL overriding on redirects
Bug: 5334118
When sending an intent for a URL with specialized handlers, tag
it with an extra that will surpress subsequent redirections
Change-Id: I997aa79192baea86c58958ab213200d57ec4c4f9
Diffstat (limited to 'src/com/android/browser/UrlHandler.java')
-rw-r--r-- | src/com/android/browser/UrlHandler.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/browser/UrlHandler.java b/src/com/android/browser/UrlHandler.java index ac4b880..167d410 100644 --- a/src/com/android/browser/UrlHandler.java +++ b/src/com/android/browser/UrlHandler.java @@ -175,6 +175,7 @@ public class UrlHandler { return false; } try { + intent.putExtra(BrowserActivity.EXTRA_DISABLE_URL_OVERRIDE, true); if (mActivity.startActivityIfNeeded(intent, -1)) { // before leaving BrowserActivity, close the empty child tab. // If a new tab is created through JavaScript open to load this |