diff options
author | John Reck <jreck@google.com> | 2011-08-17 10:15:16 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2011-08-17 10:15:16 -0700 |
commit | 56c1fcf7774d4ee943fbda808e37840459502e20 (patch) | |
tree | f725280af996ef8fbaa6ccf2f672460395c5a040 /src/com/android/browser/TabControl.java | |
parent | 86bc0480945215da742f423cda4e35b858f53cea (diff) | |
download | packages_apps_Browser-56c1fcf7774d4ee943fbda808e37840459502e20.zip packages_apps_Browser-56c1fcf7774d4ee943fbda808e37840459502e20.tar.gz packages_apps_Browser-56c1fcf7774d4ee943fbda808e37840459502e20.tar.bz2 |
Faster all the things!
Bug: 5177959
Improve browser startup. Elinate IO access on UI thread during startup
by removing the super legacy ClearThumbnails task. Also rework how
the hardware acceleration debug setting works to remove the requirement
for initialized BrowserSettings in onCreate
Change-Id: I4c1014d380827af4833586e6a3ae842fd59aa48b
Diffstat (limited to 'src/com/android/browser/TabControl.java')
-rw-r--r-- | src/com/android/browser/TabControl.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/com/android/browser/TabControl.java b/src/com/android/browser/TabControl.java index 38a46a8..e99071a 100644 --- a/src/com/android/browser/TabControl.java +++ b/src/com/android/browser/TabControl.java @@ -20,7 +20,6 @@ import android.os.Bundle; import android.util.Log; import android.webkit.WebView; -import java.io.File; import java.util.ArrayList; import java.util.HashMap; import java.util.List; @@ -51,7 +50,6 @@ class TabControl { // the main browser controller private final Controller mController; - private final File mThumbnailDir; private OnThumbnailUpdatedListener mOnThumbnailUpdatedListener; /** @@ -59,8 +57,6 @@ class TabControl { */ TabControl(Controller controller) { mController = controller; - mThumbnailDir = mController.getActivity() - .getDir("thumbnails", 0); mMaxTabs = mController.getMaxTabs(); mTabs = new ArrayList<Tab>(mMaxTabs); mTabQueue = new ArrayList<Tab>(mMaxTabs); @@ -70,10 +66,6 @@ class TabControl { return sNextId++; } - File getThumbnailDir() { - return mThumbnailDir; - } - /** * Return the current tab's main WebView. This will always return the main * WebView for a given tab and not a subwindow. |