| Index: chrome/android/java/AndroidManifest.xml
|
| diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/AndroidManifest.xml
|
| index f8bdbdff185919cd08a8bd7e7dd5f10f18ef05ee..ce17bfccf6b11e2c6a914cd8383787a28ff5e3b0 100644
|
| --- a/chrome/android/java/AndroidManifest.xml
|
| +++ b/chrome/android/java/AndroidManifest.xml
|
| @@ -353,6 +353,22 @@ by a child template that "extends" this file.
|
| android:launchMode="singleTask"
|
| android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc|screenLayout|smallestScreenSize"
|
| android:hardwareAccelerated="false">
|
| + {% set enable_webvr = enable_webvr|default(0) %}
|
| + {% if enable_vr_shell == "true" or enable_webvr == "true" %}
|
| + <intent-filter>
|
| + <!-- Add a dummy action to match intent without any action. -->
|
| + <action android:name="org.chromium.chrome.browser.dummy.action" />
|
| + <!--
|
| + Daydream api categorizes an activity to three categories: Cardboard only, hybrid
|
| + or Daydream. It does so by testing if intents can be resolved by the activity
|
| + that requests it.
|
| + In Chrome, CTA is the activity that uses Daydream api and we want to be in hybrid
|
| + category. So add an intent filter that could pass Daydream tests here.
|
| + -->
|
| + <category android:name="com.google.intent.category.DAYDREAM" />
|
| + <category android:name="com.google.intent.category.CARDBOARD" />
|
| + </intent-filter>
|
| + {% endif %}
|
| </activity>
|
| <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity2"
|
| android:theme="@style/TabbedModeTheme"
|
|
|