Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3710)

Unified Diff: chrome/android/java/AndroidManifest.xml

Issue 2776243007: Enable WebVR presentation from Chrome Custom Tab (Closed)
Patch Set: rebase + address nit Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/AndroidManifest.xml
diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/AndroidManifest.xml
index a528f07bc9a6239efcf79793098e918a2eeffe01..ae2ea81edf7fbb57f3a946ef25fe742f2bd60c66 100644
--- a/chrome/android/java/AndroidManifest.xml
+++ b/chrome/android/java/AndroidManifest.xml
@@ -36,6 +36,7 @@ by a child template that "extends" this file.
{% endif %}
<uses-permission-sdk-m android:name="android.permission.BLUETOOTH"/>
<uses-permission-sdk-m android:name="android.permission.BLUETOOTH_ADMIN"/>
+ <uses-permission-sdk-m android:name="android.permission.REORDER_TASKS"/>
<uses-permission-sdk-m android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>
<uses-permission android:name="android.permission.CAMERA" />
@@ -365,41 +366,7 @@ by a child template that "extends" this file.
{% block supports_video_persistence %}
{% endblock %}
>
- <!--
- See the VRChromeTabbedActivity alias below for an explanation of this dummy intent
- filter. We need to add these filters here as well, or non-presenting webVR pages will
- trigger a daydream incompatible app message.
- -->
- <intent-filter>
- <action android:name="org.chromium.chrome.browser.dummy.action" />
- <category android:name="com.google.intent.category.DAYDREAM" />
- <category android:name="com.google.intent.category.CARDBOARD" />
- </intent-filter>
</activity>
-
- {% if enable_vr == "true" %}
- <!--
- TODO(mthiesse): Temporarily skip ChromeLauncherActivity when returning from Daydream
- DON flow to avoid polluting metrics.
- -->
- <activity-alias android:name="org.chromium.chrome.browser.VRChromeTabbedActivity"
- android:targetActivity="org.chromium.chrome.browser.ChromeTabbedActivity"
- android:enableVrMode="@string/gvr_vr_mode_component">
- <!--
- 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.
- -->
- <intent-filter>
- <action android:name="org.chromium.chrome.browser.dummy.action" />
- <category android:name="com.google.intent.category.DAYDREAM" />
- <category android:name="com.google.intent.category.CARDBOARD" />
- </intent-filter>
- </activity-alias>
- {% endif %}
-
<activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity2"
android:theme="@style/TabbedModeTheme"
android:exported="false"
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698