diff options
| author | Steve Block <steveblock@google.com> | 2010-11-26 11:33:35 +0000 |
|---|---|---|
| committer | Steve Block <steveblock@google.com> | 2010-11-26 11:57:40 +0000 |
| commit | 83101a8cdf30c28db25dfa28530d73e2b1c0eee0 (patch) | |
| tree | c297ebd93263140be7fc8a245a766feff6e49cb3 /src/com/android/browser/Controller.java | |
| parent | 50438d9205f5bebc9f3cefd8e00ae37850e2eb4d (diff) | |
| download | packages_apps_Browser-83101a8cdf30c28db25dfa28530d73e2b1c0eee0.tar.gz packages_apps_Browser-83101a8cdf30c28db25dfa28530d73e2b1c0eee0.tar.bz2 packages_apps_Browser-83101a8cdf30c28db25dfa28530d73e2b1c0eee0.zip | |
No longer need to pass storage paths to WebView.cleanupPrivateBrowsingFiles()
Requires the following changes to external/webkit and frameworks/base
https://android-git.corp.google.com/g/81781
https://android-git.corp.google.com/g/81782
Bug: 3232569
Change-Id: Ib6c661035ac39726d94b2c9f7e54cdf887a6ba0a
Diffstat (limited to 'src/com/android/browser/Controller.java')
| -rw-r--r-- | src/com/android/browser/Controller.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java index 41e73564f..d30ffb2dd 100644 --- a/src/com/android/browser/Controller.java +++ b/src/com/android/browser/Controller.java @@ -255,7 +255,7 @@ public class Controller // we can treat it as a new Browser, remove the old session cookies. CookieManager.getInstance().removeSessionCookie(); // remove any incognito files - WebView.cleanupPrivateBrowsingFiles(mActivity); + 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 @@ -289,7 +289,7 @@ public class Controller } else { mUi.updateTabs(mTabControl.getTabs()); if (!restoreIncognitoTabs) { - WebView.cleanupPrivateBrowsingFiles(mActivity); + WebView.cleanupPrivateBrowsingFiles(); } // TabControl.restoreState() will create a new tab even if // restoring the state fails. @@ -2178,7 +2178,7 @@ public class Controller Tab newtab = mTabControl.getTab(currentIndex); setActiveTab(newtab); if (!mTabControl.hasAnyOpenIncognitoTabs()) { - WebView.cleanupPrivateBrowsingFiles(mActivity); + WebView.cleanupPrivateBrowsingFiles(); } } |
