diff options
-rw-r--r-- | src/com/android/browser/BrowserBookmarksAdapter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/browser/BrowserBookmarksAdapter.java b/src/com/android/browser/BrowserBookmarksAdapter.java index d1fdf07..2601df5 100644 --- a/src/com/android/browser/BrowserBookmarksAdapter.java +++ b/src/com/android/browser/BrowserBookmarksAdapter.java @@ -316,8 +316,8 @@ class BrowserBookmarksAdapter extends BaseAdapter { originalUrlNoQuery, urlNoQuery, originalUrl, url }; String where = BookmarkColumns.URL + " == ? OR " + BookmarkColumns.URL + " == ? OR " - + BookmarkColumns.URL + " GLOB ? || '*' OR " - + BookmarkColumns.URL + " GLOB ? || '*'"; + + BookmarkColumns.URL + " LIKE ? || '%' OR " + + BookmarkColumns.URL + " LIKE ? || '%'"; if (onlyBookmarks) { where = "(" + where + ") AND " + BookmarkColumns.BOOKMARK + " == 1"; } |