summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/provider
diff options
context:
space:
mode:
authorJeff Hamilton <jham@android.com>2010-09-07 11:09:29 -0500
committerJeff Hamilton <jham@android.com>2010-09-07 11:09:29 -0500
commitc127f479999167e760cbc7c6ce2f77f933fa1533 (patch)
treeaf20fbd0ff2d49a9b809f5b8a09c130f7438acc7 /src/com/android/browser/provider
parent834498100f130b7a7ec8cca16cbc963eb9cfa105 (diff)
downloadpackages_apps_Browser-c127f479999167e760cbc7c6ce2f77f933fa1533.zip
packages_apps_Browser-c127f479999167e760cbc7c6ce2f77f933fa1533.tar.gz
packages_apps_Browser-c127f479999167e760cbc7c6ce2f77f933fa1533.tar.bz2
Don't show deleted bookmarks in the default page view.
Change-Id: Ie9cae028d7ccb491dc1e1d323e9abb0aef442455
Diffstat (limited to 'src/com/android/browser/provider')
-rw-r--r--src/com/android/browser/provider/BrowserProvider2.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/browser/provider/BrowserProvider2.java b/src/com/android/browser/provider/BrowserProvider2.java
index cba585e..28eed79 100644
--- a/src/com/android/browser/provider/BrowserProvider2.java
+++ b/src/com/android/browser/provider/BrowserProvider2.java
@@ -473,7 +473,7 @@ public class BrowserProvider2 extends SQLiteContentProvider {
qb.setTables(TABLE_BOOKMARKS);
qb.setProjectionMap(BOOKMARKS_PROJECTION_MAP);
String bookmarksBarQuery = qb.buildQuery(projection,
- Bookmarks.PARENT + "=?",
+ Bookmarks.PARENT + "=? AND " + Bookmarks.IS_DELETED + "=0",
null, null, null, null, null);
qb.setProjectionMap(OTHER_BOOKMARKS_PROJECTION_MAP);