OSDN Git Service

Use the passed in url as the WebView's url may not be up-to-date.
authorPatrick Scott <phanna@android.com>
Wed, 17 Mar 2010 20:06:30 +0000 (16:06 -0400)
committerPatrick Scott <phanna@android.com>
Wed, 17 Mar 2010 20:06:30 +0000 (16:06 -0400)
Bug: 2502742
Change-Id: I8d8a0218e65610fb7006bdbef54b4459728f6390

src/com/android/browser/Tab.java

index 535e8e7..84bb018 100644 (file)
@@ -488,8 +488,7 @@ class Tab {
             // update the bookmark database for favicon
             if (favicon != null) {
                 BrowserBookmarksAdapter.updateBookmarkFavicon(mActivity
-                        .getContentResolver(), view.getOriginalUrl(), view
-                        .getUrl(), favicon);
+                        .getContentResolver(), null, url, favicon);
             }
 
             // reset sync timer to avoid sync starts during loading a page