| Index: chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWeb.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWeb.java b/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWeb.java
|
| index 6049aef4918630cdf72b7aba87b766e9934cea34..c4d1f3239ecf1ad1d1bf5e955f4522c615b5148b 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWeb.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWeb.java
|
| @@ -11,6 +11,7 @@ import android.os.Build;
|
|
|
| import org.chromium.base.ContextUtils;
|
| import org.chromium.chrome.browser.ChromeFeatureList;
|
| +import org.chromium.chrome.browser.IntentHandler;
|
| import org.chromium.chrome.browser.UrlConstants;
|
| import org.chromium.chrome.browser.preferences.privacy.PrivacyPreferencesManager;
|
| import org.chromium.chrome.browser.profiles.Profile;
|
| @@ -151,11 +152,10 @@ public class PhysicalWeb {
|
| }
|
|
|
| /**
|
| - * Creates an Intent that sends the user to the list of Physical Web URLs.
|
| + * Starts the Activity that shows the list of Physical Web URLs.
|
| */
|
| - public static Intent createListUrlsIntent() {
|
| - return new Intent(Intent.ACTION_VIEW)
|
| - .addCategory(Intent.CATEGORY_BROWSABLE)
|
| - .setData(Uri.parse(UrlConstants.PHYSICAL_WEB_URL));
|
| + public static void showUrlList() {
|
| + IntentHandler.startChromeLauncherActivityForTrustedIntent(
|
| + new Intent(Intent.ACTION_VIEW, Uri.parse(UrlConstants.PHYSICAL_WEB_URL)));
|
| }
|
| }
|
|
|