BP2 now handles old browser URI
Bug: 3248258
Adds support for handling legacy URIs in BrowserProvider2, and makes
it the handler for all legacy URI requests.
Change-Id: I0a0210a5c8c716452b9a3de5e3294dd5dde1b37c
diff --git a/src/com/android/browser/BookmarkUtils.java b/src/com/android/browser/BookmarkUtils.java
index 58622ce..d2eec66 100644
--- a/src/com/android/browser/BookmarkUtils.java
+++ b/src/com/android/browser/BookmarkUtils.java
@@ -35,7 +35,7 @@
import android.provider.BrowserContract;
import android.text.TextUtils;
-class BookmarkUtils {
+public class BookmarkUtils {
private final static String LOGTAG = "BookmarkUtils";
// XXX: There is no public string defining this intent so if Home changes the value, we
@@ -174,7 +174,7 @@
BrowserContract.Bookmarks.CONTENT_URI.buildUpon()).build();
}
- /* package */ static Uri.Builder addAccountInfo(Context context, Uri.Builder ub) {
+ public static Uri.Builder addAccountInfo(Context context, Uri.Builder ub) {
Uri uri = BrowserContract.Bookmarks.CONTENT_URI;
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
String accountType = prefs.getString(BrowserBookmarksPage.PREF_ACCOUNT_TYPE, null);