diff options
author | John Reck <jreck@google.com> | 2010-12-13 11:03:16 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2010-12-15 11:34:05 -0800 |
commit | dd03faf825b24dfaf9422bbd004fb73dc14b89ac (patch) | |
tree | 039c2b4c578b7f64026dce93b030e3ffedf50253 /src/com/android/browser/BookmarkUtils.java | |
parent | afdb794ba4a05716dfc52be7c4d3885fb4174d4a (diff) | |
download | android_packages_apps_Gello-dd03faf825b24dfaf9422bbd004fb73dc14b89ac.tar.gz android_packages_apps_Gello-dd03faf825b24dfaf9422bbd004fb73dc14b89ac.tar.bz2 android_packages_apps_Gello-dd03faf825b24dfaf9422bbd004fb73dc14b89ac.zip |
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
Diffstat (limited to 'src/com/android/browser/BookmarkUtils.java')
-rw-r--r-- | src/com/android/browser/BookmarkUtils.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/browser/BookmarkUtils.java b/src/com/android/browser/BookmarkUtils.java index 58622ce0..d2eec664 100644 --- a/src/com/android/browser/BookmarkUtils.java +++ b/src/com/android/browser/BookmarkUtils.java @@ -35,7 +35,7 @@ import android.provider.Browser; 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 @@ class BookmarkUtils { 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); |