diff options
author | Mathew Inwood <mathewi@google.com> | 2011-08-02 17:36:07 +0100 |
---|---|---|
committer | Mathew Inwood <mathewi@google.com> | 2011-08-02 19:05:47 +0100 |
commit | cf9120ebd80d9ecdf54ec387bc1e8c4b9b91c6ea (patch) | |
tree | f24dc96e1376ef6e5ac1e7bfd797df75077279b9 /src/com | |
parent | a2d848cd1200f98aac3d9f71e4324b1a051065d7 (diff) | |
download | packages_apps_Browser-cf9120ebd80d9ecdf54ec387bc1e8c4b9b91c6ea.zip packages_apps_Browser-cf9120ebd80d9ecdf54ec387bc1e8c4b9b91c6ea.tar.gz packages_apps_Browser-cf9120ebd80d9ecdf54ec387bc1e8c4b9b91c6ea.tar.bz2 |
Don't pause webview timers as we're rendering a preloaded tab.
Bug: 5109383
Change-Id: I5e94180e8f07986712b3f69ea44af56729dd41a2
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/browser/Preloader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/browser/Preloader.java b/src/com/android/browser/Preloader.java index 37cbc0e..3d30c96 100644 --- a/src/com/android/browser/Preloader.java +++ b/src/com/android/browser/Preloader.java @@ -84,7 +84,6 @@ public class Preloader { s.cancelTimeout(); } - WebViewTimersControl.getInstance().onPrerenderDone(s == null ? null : s.getWebView()); return s; } @@ -111,6 +110,7 @@ public class Preloader { PreloaderSession s = takeSession(id); if (s != null) { if (LOGD_ENABLED) Log.d(LOGTAG, "Discard preload session " + id); + WebViewTimersControl.getInstance().onPrerenderDone(s == null ? null : s.getWebView()); PreloadedTabControl t = s.getTabControl(); t.destroy(); } else { |