fix incognito url loading
http://b/issue?id=3349090 removed the loading of the "browser:incognito" url Change-Id: I47f952d372b4d69e91d4b29b3b5e5ec46a4f4fc3
This commit is contained in:
@@ -2013,13 +2013,7 @@ public class WebView extends AbsoluteLayout
|
||||
}
|
||||
|
||||
private void startPrivateBrowsing() {
|
||||
boolean wasPrivateBrowsingEnabled = isPrivateBrowsingEnabled();
|
||||
|
||||
getSettings().setPrivateBrowsingEnabled(true);
|
||||
|
||||
if (!wasPrivateBrowsingEnabled) {
|
||||
loadUrl("browser:incognito");
|
||||
}
|
||||
}
|
||||
|
||||
private boolean extendScroll(int y) {
|
||||
|
||||
Reference in New Issue
Block a user