summaryrefslogtreecommitdiff
path: root/src/com/android/browser/AddBookmarkPage.java
diff options
context:
space:
mode:
authorJeff Hamilton <jham@android.com>2010-09-17 17:22:21 -0500
committerJeff Hamilton <jham@android.com>2010-09-17 17:22:21 -0500
commit7f6cf3e4109426164c6fdd11aba0c69622e2353c (patch)
tree90afa1c1c7c9a764b9bb8cba73cac53d2660cb90 /src/com/android/browser/AddBookmarkPage.java
parentdb90aa83e0d99212af3ee063360cdaf4cdb61e94 (diff)
Add bookmarks to the current account.
Make sure to stuff newly created bookmarks in the currently active account so that they show up in the bookmarks UI and will get synced properly. Change-Id: I5677ddb8480957bc209d79cc41f7df02221ef66d
Diffstat (limited to 'src/com/android/browser/AddBookmarkPage.java')
-rw-r--r--src/com/android/browser/AddBookmarkPage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/browser/AddBookmarkPage.java b/src/com/android/browser/AddBookmarkPage.java
index f287e8e1..1d6edc5c 100644
--- a/src/com/android/browser/AddBookmarkPage.java
+++ b/src/com/android/browser/AddBookmarkPage.java
@@ -148,7 +148,7 @@ public class AddBookmarkPage extends Activity {
// Save to the bookmarks DB.
try {
final ContentResolver cr = getContentResolver();
- Bookmarks.addBookmark(null, cr, url, title, thumbnail, true);
+ Bookmarks.addBookmark(AddBookmarkPage.this, false, url, title, thumbnail, true);
if (touchIconUrl != null) {
new DownloadTouchIcon(AddBookmarkPage.this, cr, url).execute(mTouchIconUrl);
}