diff options
author | John Reck <jreck@google.com> | 2010-12-20 14:17:46 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-12-20 14:17:46 -0800 |
commit | 975e3880cdc9a2ced151813515b50de02fcf5f7c (patch) | |
tree | 55f326ceb49dd06f9c75dbbe38171248bda206a8 /src/com/android | |
parent | 71e76c71d8fb70433a60521dfdbcd4e7a8762ef8 (diff) | |
parent | c86d5a5c758da71e098778682562c2b9a6512dde (diff) | |
download | packages_apps_Browser-975e3880cdc9a2ced151813515b50de02fcf5f7c.zip packages_apps_Browser-975e3880cdc9a2ced151813515b50de02fcf5f7c.tar.gz packages_apps_Browser-975e3880cdc9a2ced151813515b50de02fcf5f7c.tar.bz2 |
Merge "Add legacy mimetype support to BP2"
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/browser/provider/BrowserProvider2.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/browser/provider/BrowserProvider2.java b/src/com/android/browser/provider/BrowserProvider2.java index 19d508d..849426a 100644 --- a/src/com/android/browser/provider/BrowserProvider2.java +++ b/src/com/android/browser/provider/BrowserProvider2.java @@ -565,8 +565,10 @@ public class BrowserProvider2 extends SQLiteContentProvider { public String getType(Uri uri) { final int match = URI_MATCHER.match(uri); switch (match) { + case LEGACY: case BOOKMARKS: return Bookmarks.CONTENT_TYPE; + case LEGACY_ID: case BOOKMARKS_ID: return Bookmarks.CONTENT_ITEM_TYPE; case HISTORY: @@ -577,8 +579,6 @@ public class BrowserProvider2 extends SQLiteContentProvider { return Searches.CONTENT_TYPE; case SEARCHES_ID: return Searches.CONTENT_ITEM_TYPE; -// case SUGGEST: -// return SearchManager.SUGGEST_MIME_TYPE; } return null; } |