| Index: chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java b/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java
|
| index a6b95d0bbad074ebf4f62a7a6f8777136179223b..11cbb7236adee41077461fd9e4b88aaa2bbb30f2 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellDelegate.java
|
| @@ -78,11 +78,6 @@ public class VrShellDelegate implements ApplicationStatus.ActivityStateListener,
|
| @IntDef({VR_NOT_AVAILABLE, VR_CARDBOARD, VR_DAYDREAM})
|
| private @interface VrSupportLevel {}
|
|
|
| - // TODO(bshe): These should be replaced by string provided by NDK. Currently, it only available
|
| - // in SDK and we don't want add dependency to SDK just to get these strings.
|
| - private static final String DAYDREAM_CATEGORY = "com.google.intent.category.DAYDREAM";
|
| - private static final String CARDBOARD_CATEGORY = "com.google.intent.category.CARDBOARD";
|
| -
|
| // Linter and formatter disagree on how the line below should be formatted.
|
| /* package */
|
| static final String VR_ENTRY_RESULT_ACTION =
|
| @@ -207,14 +202,6 @@ public class VrShellDelegate implements ApplicationStatus.ActivityStateListener,
|
| }
|
|
|
| /**
|
| - * Whether or not the intent is a Daydream VR Intent.
|
| - */
|
| - public static boolean isDaydreamVrIntent(Intent intent) {
|
| - if (intent == null || intent.getCategories() == null) return false;
|
| - return intent.getCategories().contains(DAYDREAM_CATEGORY);
|
| - }
|
| -
|
| - /**
|
| * Handles the result of the exit VR flow (DOFF).
|
| */
|
| public static void onExitVrResult(int resultCode) {
|
|
|