summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/provider
diff options
context:
space:
mode:
authorJeff Hamilton <jham@android.com>2010-09-16 03:38:04 -0500
committerJeff Hamilton <jham@android.com>2010-09-17 16:11:04 -0500
commitdb90aa83e0d99212af3ee063360cdaf4cdb61e94 (patch)
treecbd1279dbc25992c60097f5840242f158d45f485 /src/com/android/browser/provider
parent4fb6cc9141ef4193404396d2344528bf7cfae6ff (diff)
downloadpackages_apps_Browser-db90aa83e0d99212af3ee063360cdaf4cdb61e94.zip
packages_apps_Browser-db90aa83e0d99212af3ee063360cdaf4cdb61e94.tar.gz
packages_apps_Browser-db90aa83e0d99212af3ee063360cdaf4cdb61e94.tar.bz2
Add a basic account picker to the bookmarks picker
The account picker only shows up when you have multiple accounts providing bookmarks. Change-Id: I341d37d81551ca571713ac66d564c9cb0a86653c
Diffstat (limited to 'src/com/android/browser/provider')
-rw-r--r--src/com/android/browser/provider/BrowserProvider2.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/browser/provider/BrowserProvider2.java b/src/com/android/browser/provider/BrowserProvider2.java
index 13377d4..47d92de 100644
--- a/src/com/android/browser/provider/BrowserProvider2.java
+++ b/src/com/android/browser/provider/BrowserProvider2.java
@@ -543,6 +543,7 @@ public class BrowserProvider2 extends SQLiteContentProvider {
qb.setTables(TABLE_BOOKMARKS);
qb.setProjectionMap(ACCOUNTS_PROJECTION_MAP);
qb.setDistinct(true);
+ qb.appendWhere(Bookmarks.ACCOUNT_NAME + " IS NOT NULL");
break;
}