diff options
Diffstat (limited to 'src/com/android/browser/Tab.java')
-rw-r--r-- | src/com/android/browser/Tab.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/browser/Tab.java b/src/com/android/browser/Tab.java index dd97960..0abc86b 100644 --- a/src/com/android/browser/Tab.java +++ b/src/com/android/browser/Tab.java @@ -619,7 +619,6 @@ class Tab implements PictureListener { LogTag.logPageFinishedLoading( url, SystemClock.uptimeMillis() - mLoadStartTime); } - mInPageLoad = false; syncCurrentState(view, url); mWebViewController.onPageFinished(Tab.this); } @@ -1044,6 +1043,9 @@ class Tab implements PictureListener { @Override public void onProgressChanged(WebView view, int newProgress) { mPageLoadProgress = newProgress; + if (newProgress == 100) { + mInPageLoad = false; + } mWebViewController.onProgressChanged(Tab.this); } |