summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristian Monsen <kristianm@google.com>2010-12-13 09:50:30 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-12-13 09:50:30 -0800
commit22ce7a93d8126cdfc327ccf5badedd8eaf2ac620 (patch)
treee08467589c0c59422ebc671f597a7a6c56edfad3
parent81b6f83b7032f22fdaaa514afda2448f801b73da (diff)
parent74d464ce084abefe606032fd0ac41eb116d704eb (diff)
downloadpackages_apps_Browser-22ce7a93d8126cdfc327ccf5badedd8eaf2ac620.zip
packages_apps_Browser-22ce7a93d8126cdfc327ccf5badedd8eaf2ac620.tar.gz
packages_apps_Browser-22ce7a93d8126cdfc327ccf5badedd8eaf2ac620.tar.bz2
Merge "Private browsing cleanup is now done in webkit"
-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 *******************************/