summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/AddBookmarkPage.java
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2011-02-23 12:08:09 -0500
committerLeon Scroggins <scroggo@google.com>2011-02-23 12:08:09 -0500
commit3ba3e48f3ac720cf70baa838ddbbbc9babb7cb95 (patch)
tree7ad0e31b55c497984a61e8ad129ea06239093212 /src/com/android/browser/AddBookmarkPage.java
parentaeb3b099ce1115e85e5a309bba644041502af556 (diff)
downloadpackages_apps_Browser-3ba3e48f3ac720cf70baa838ddbbbc9babb7cb95.zip
packages_apps_Browser-3ba3e48f3ac720cf70baa838ddbbbc9babb7cb95.tar.gz
packages_apps_Browser-3ba3e48f3ac720cf70baa838ddbbbc9babb7cb95.tar.bz2
Only look for most recently saved bookmark by current user.
Bug:3471015 Change-Id: I0f7c751f838bb7c8c59b643e063def0b3289bbcf
Diffstat (limited to 'src/com/android/browser/AddBookmarkPage.java')
-rw-r--r--src/com/android/browser/AddBookmarkPage.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/browser/AddBookmarkPage.java b/src/com/android/browser/AddBookmarkPage.java
index 9a7227c..a88e8e7 100644
--- a/src/com/android/browser/AddBookmarkPage.java
+++ b/src/com/android/browser/AddBookmarkPage.java
@@ -431,7 +431,7 @@ public class AddBookmarkPage extends Activity
BrowserContract.Bookmarks.TITLE
};
return new CursorLoader(this,
- BrowserContract.Bookmarks.CONTENT_URI,
+ BookmarkUtils.getBookmarksUri(this),
projection,
BrowserContract.Bookmarks._ID + " = "
+ args.getLong(BrowserContract.Bookmarks._ID),
@@ -445,7 +445,7 @@ public class AddBookmarkPage extends Activity
BrowserContract.Bookmarks.IS_FOLDER
};
return new CursorLoader(this,
- BrowserContract.Bookmarks.CONTENT_URI,
+ BookmarkUtils.getBookmarksUri(this),
projection,
BrowserContract.Bookmarks.IS_FOLDER + " != 0",
null,
@@ -472,7 +472,7 @@ public class AddBookmarkPage extends Activity
BrowserContract.Bookmarks.PARENT
};
return new CursorLoader(this,
- BrowserContract.Bookmarks.CONTENT_URI,
+ BookmarkUtils.getBookmarksUri(this),
projection,
BrowserContract.Bookmarks.IS_FOLDER + " = 0",
null,