summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristian Monsen <kristianm@google.com>2010-12-13 16:56:22 +0000
committerKristian Monsen <kristianm@google.com>2010-12-13 16:58:25 +0000
commit74d464ce084abefe606032fd0ac41eb116d704eb (patch)
tree62ed7e14a65256e6d9a7c548e870ffeb36ad5608
parentd7d26819d01abc200dd569589579660435def146 (diff)
downloadpackages_apps_Browser-74d464ce084abefe606032fd0ac41eb116d704eb.zip
packages_apps_Browser-74d464ce084abefe606032fd0ac41eb116d704eb.tar.gz
packages_apps_Browser-74d464ce084abefe606032fd0ac41eb116d704eb.tar.bz2
Private browsing cleanup is now done in webkit
Bug 3243891 Change-Id: Ia359d1138f50514decc72860a20532a755093f4b
-rw-r--r--src/com/android/browser/Controller.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java
index f7e47fe..422fdff 100644
--- a/src/com/android/browser/Controller.java
+++ b/src/com/android/browser/Controller.java
@@ -270,8 +270,6 @@ public class Controller
// This is done async in the CookieManager.
CookieManager.getInstance().removeSessionCookie();
- // remove any incognito files
- WebView.cleanupPrivateBrowsingFiles();
final Bundle extra = intent.getExtras();
// Create an initial tab.
// If the intent is ACTION_VIEW and data is not null, the Browser is
@@ -304,9 +302,6 @@ public class Controller
}
} else {
mUi.updateTabs(mTabControl.getTabs());
- if (!restoreIncognitoTabs) {
- WebView.cleanupPrivateBrowsingFiles();
- }
// TabControl.restoreState() will create a new tab even if
// restoring the state fails.
setActiveTab(mTabControl.getCurrentTab());
@@ -2193,9 +2188,6 @@ public class Controller
}
Tab newtab = mTabControl.getTab(currentIndex);
setActiveTab(newtab);
- if (!mTabControl.hasAnyOpenIncognitoTabs()) {
- WebView.cleanupPrivateBrowsingFiles();
- }
}
/**************** TODO: Url loading clean up *******************************/