commit | 2c8b1f77a31c13100a0c96cc9eb8eda4d211ec35 | [log] [tgz] |
---|---|---|
author | Michael Kolb <kolby@google.com> | Wed Jan 26 19:11:02 2011 -0800 |
committer | Michael Kolb <kolby@google.com> | Wed Jan 26 19:16:11 2011 -0800 |
tree | 8608083ad01a4c72f50fbc6b410d3845e78f7b2c | |
parent | 7f532976baa54d2935a8ba42cc2c529b7460e57a [diff] |
fix incognito url loading http://b/issue?id=3349090 removed the loading of the "browser:incognito" url Change-Id: I47f952d372b4d69e91d4b29b3b5e5ec46a4f4fc3
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index ca45e68..e2a92e8 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java
@@ -2013,13 +2013,7 @@ } private void startPrivateBrowsing() { - boolean wasPrivateBrowsingEnabled = isPrivateBrowsingEnabled(); - getSettings().setPrivateBrowsingEnabled(true); - - if (!wasPrivateBrowsingEnabled) { - loadUrl("browser:incognito"); - } } private boolean extendScroll(int y) {