A bunch of updates to BrowserProvider2.
The images are now shared between the history
and bookmarks tables so updates to one are
reflected in the other.
Added a parameter for specifying a limit when
calling query().
Added a combined view of history and bookmarks.
Added a way to get a distinct list of the
accounts providing bookmarks.
Added the ability to find the server unique
IDs for parent and insert_after when doing
a query for a row.
Change-Id: I9afa15bcf7ca68468793c49fbec701e516e4540e
diff --git a/src/com/android/browser/Tab.java b/src/com/android/browser/Tab.java
index 54f3088..dc42428 100644
--- a/src/com/android/browser/Tab.java
+++ b/src/com/android/browser/Tab.java
@@ -497,7 +497,7 @@
// update the bookmark database for favicon
if (favicon != null) {
- Bookmarks.updateBookmarkFavicon(mActivity
+ Bookmarks.updateFavicon(mActivity
.getContentResolver(), null, url, favicon);
}
@@ -1035,7 +1035,7 @@
@Override
public void onReceivedIcon(WebView view, Bitmap icon) {
if (icon != null) {
- Bookmarks.updateBookmarkFavicon(mActivity
+ Bookmarks.updateFavicon(mActivity
.getContentResolver(), view.getOriginalUrl(), view
.getUrl(), icon);
}