Merge "fix incognito url loading" into honeycomb

This commit is contained in:
Michael Kolb
2011-01-26 19:21:49 -08:00
committed by Android (Google) Code Review

View File

@@ -2011,13 +2011,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) {