fix anchor link url bar updates

    Bug: 5621026

Allow onPageFinished to reach Controller for links with anchor tags
Note that the bookmark thumbnail update won't overload the
async task anymore, since only one update message is active at any given
time (see bug: 4517571)

Change-Id: Iaeb9950ef15446aa9c824c7196f26a748591c944
diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java
index 01e090b..67be22e 100644
--- a/src/com/android/browser/Controller.java
+++ b/src/com/android/browser/Controller.java
@@ -842,7 +842,8 @@
         mUi.onTabDataChanged(tab);
         if (!tab.isPrivateBrowsingEnabled()
                 && !TextUtils.isEmpty(tab.getUrl())
-                && !tab.isSnapshot()) {
+                && !tab.isSnapshot()
+                && !tab.inPageLoad()) {
             // Only update the bookmark screenshot if the user did not
             // cancel the load early and there is not already
             // a pending update for the tab.
@@ -2011,7 +2012,6 @@
         }
         final String url = tab.getUrl();
         final String originalUrl = view.getOriginalUrl();
-
         if (TextUtils.isEmpty(url)) {
             return;
         }