| OLD | NEW |
| 1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. --> | 4 found in the LICENSE file. --> |
| 5 | 5 |
| 6 <!-- | 6 <!-- |
| 7 Note: This is a jinja2 template, processed at build time into the final manifest
. | 7 Note: This is a jinja2 template, processed at build time into the final manifest
. |
| 8 | 8 |
| 9 Blocks denoted with { % block some_name % }foo{ % endblock % } can be overridden | 9 Blocks denoted with { % block some_name % }foo{ % endblock % } can be overridden |
| 10 by a child template that "extends" this file. | 10 by a child template that "extends" this file. |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/> | 46 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/> |
| 47 <uses-permission android:name="android.permission.READ_SYNC_STATS"/> | 47 <uses-permission android:name="android.permission.READ_SYNC_STATS"/> |
| 48 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> | 48 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> |
| 49 <uses-permission android:name="android.permission.RECORD_AUDIO"/> | 49 <uses-permission android:name="android.permission.RECORD_AUDIO"/> |
| 50 <uses-permission android:name="android.permission.USE_CREDENTIALS"/> | 50 <uses-permission android:name="android.permission.USE_CREDENTIALS"/> |
| 51 <uses-permission android:name="android.permission.VIBRATE"/> | 51 <uses-permission android:name="android.permission.VIBRATE"/> |
| 52 <uses-permission android:name="android.permission.WAKE_LOCK"/> | 52 <uses-permission android:name="android.permission.WAKE_LOCK"/> |
| 53 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> | 53 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> |
| 54 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/> | 54 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/> |
| 55 {% set enable_vr_shell = enable_vr_shell|default(0) %} | 55 {% set enable_vr_shell = enable_vr_shell|default(0) %} |
| 56 {% if enable_vr_shell == "true" %} | 56 {% set enable_webvr = enable_webvr|default(0) %} |
| 57 {% if enable_vr_shell == "true" or enable_webvr == "true" %} |
| 57 <!-- Required to read the paired viewer's distortion parameters. --> | 58 <!-- Required to read the paired viewer's distortion parameters. --> |
| 58 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> | 59 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> |
| 59 <!-- Indicates use of Android's VR-mode, available only on Android N+. --> | 60 <!-- Indicates use of Android's VR-mode, available only on Android N+. --> |
| 60 <uses-feature android:name="android.software.vr.mode" android:required="fals
e"/> | 61 <uses-feature android:name="android.software.vr.mode" android:required="fals
e"/> |
| 61 <!-- Indicates use of VR features that are available only on Daydream-ready
devices. --> | 62 <!-- Indicates use of VR features that are available only on Daydream-ready
devices. --> |
| 62 <uses-feature android:name="android.hardware.vr.high_performance" android:re
quired="false"/> | 63 <uses-feature android:name="android.hardware.vr.high_performance" android:re
quired="false"/> |
| 63 {% endif %} | 64 {% endif %} |
| 64 | 65 |
| 65 <permission android:name="{{ manifest_package }}.permission.CHILD_SERVICE" a
ndroid:protectionLevel="signature" /> | 66 <permission android:name="{{ manifest_package }}.permission.CHILD_SERVICE" a
ndroid:protectionLevel="signature" /> |
| 66 <permission android:name="{{ manifest_package }}.permission.READ_WRITE_BOOKM
ARK_FOLDERS" android:protectionLevel="signatureOrSystem" /> | 67 <permission android:name="{{ manifest_package }}.permission.READ_WRITE_BOOKM
ARK_FOLDERS" android:protectionLevel="signatureOrSystem" /> |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 android:windowSoftInputMode="adjustResize" | 341 android:windowSoftInputMode="adjustResize" |
| 341 android:persistableMode="persistNever" | 342 android:persistableMode="persistNever" |
| 342 android:taskAffinity="" | 343 android:taskAffinity="" |
| 343 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" | 344 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" |
| 344 android:hardwareAccelerated="false"> | 345 android:hardwareAccelerated="false"> |
| 345 </activity> | 346 </activity> |
| 346 {% endfor %} | 347 {% endfor %} |
| 347 | 348 |
| 348 <!-- ChromeTabbedActivity related --> | 349 <!-- ChromeTabbedActivity related --> |
| 349 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity
" | 350 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity
" |
| 350 android:theme="@style/TabbedModeTheme" | 351 android:theme="@style/TabbedModeTheme" |
| 351 android:exported="false" | 352 android:exported="false" |
| 352 android:windowSoftInputMode="adjustResize" | 353 android:windowSoftInputMode="adjustResize" |
| 353 android:launchMode="singleTask" | 354 android:launchMode="singleTask" |
| 354 android:configChanges="orientation|keyboardHidden|keyboard|screenSi
ze|mcc|mnc|screenLayout|smallestScreenSize" | 355 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" |
| 355 android:hardwareAccelerated="false"> | 356 android:hardwareAccelerated="false"> |
| 356 {% set enable_webvr = enable_webvr|default(0) %} | 357 <!-- |
| 357 {% if enable_vr_shell == "true" or enable_webvr == "true" %} | 358 See the VRChromeTabbedActivity alias below for an explanation of t
his dummy intent |
| 359 filter. We need to add these filters here as well, or non-presenti
ng webVR pages will |
| 360 trigger a daydream incompatible app message. |
| 361 --> |
| 358 <intent-filter> | 362 <intent-filter> |
| 359 <!-- Add a dummy action to match intent without any action. --> | |
| 360 <action android:name="org.chromium.chrome.browser.dummy.action"
/> | 363 <action android:name="org.chromium.chrome.browser.dummy.action"
/> |
| 361 <!-- | |
| 362 Daydream api categorizes an activity to three categories: Card
board only, hybrid | |
| 363 or Daydream. It does so by testing if intents can be resolved
by the activity | |
| 364 that requests it. | |
| 365 In Chrome, CTA is the activity that uses Daydream api and we w
ant to be in hybrid | |
| 366 category. So add an intent filter that could pass Daydream tes
ts here. | |
| 367 --> | |
| 368 <category android:name="com.google.intent.category.DAYDREAM" /> | 364 <category android:name="com.google.intent.category.DAYDREAM" /> |
| 369 <category android:name="com.google.intent.category.CARDBOARD" /> | 365 <category android:name="com.google.intent.category.CARDBOARD" /> |
| 370 </intent-filter> | 366 </intent-filter> |
| 371 {% endif %} | |
| 372 </activity> | 367 </activity> |
| 368 |
| 369 {% if enable_vr_shell == "true" or enable_webvr == "true" %} |
| 370 <!-- |
| 371 TODO(mthiesse): Temporarily skip ChromeLauncherActivity when returni
ng from Daydream |
| 372 DON flow to avoid polluting metrics. |
| 373 --> |
| 374 <activity-alias android:name="org.chromium.chrome.browser.VRChromeTabbed
Activity" |
| 375 android:targetActivity="org.chromium.chrome.browser.ChromeTabbedActi
vity" |
| 376 android:enableVrMode="@string/gvr_vr_mode_component"> |
| 377 <!-- |
| 378 Daydream api categorizes an activity to three categories: Cardboar
d only, hybrid |
| 379 or Daydream. It does so by testing if intents can be resolved by t
he activity |
| 380 that requests it. |
| 381 In Chrome, CTA is the activity that uses Daydream api and we want
to be in hybrid |
| 382 category. So add an intent filter that could pass Daydream tests h
ere. |
| 383 --> |
| 384 <intent-filter> |
| 385 <action android:name="org.chromium.chrome.browser.dummy.action"
/> |
| 386 <category android:name="com.google.intent.category.DAYDREAM" /> |
| 387 <category android:name="com.google.intent.category.CARDBOARD" /> |
| 388 </intent-filter> |
| 389 </activity-alias> |
| 390 {% endif %} |
| 391 |
| 373 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity
2" | 392 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity
2" |
| 374 android:theme="@style/TabbedModeTheme" | 393 android:theme="@style/TabbedModeTheme" |
| 375 android:exported="false" | 394 android:exported="false" |
| 376 android:windowSoftInputMode="adjustResize" | 395 android:windowSoftInputMode="adjustResize" |
| 377 android:taskAffinity="{{ manifest_package }}.ChromeTabbedActivity2" | 396 android:taskAffinity="{{ manifest_package }}.ChromeTabbedActivity2" |
| 378 android:launchMode="singleTask" | 397 android:launchMode="singleTask" |
| 379 android:configChanges="orientation|keyboardHidden|keyboard|screenSi
ze|mcc|mnc|screenLayout|smallestScreenSize" | 398 android:configChanges="orientation|keyboardHidden|keyboard|screenSi
ze|mcc|mnc|screenLayout|smallestScreenSize" |
| 380 android:hardwareAccelerated="false"> | 399 android:hardwareAccelerated="false"> |
| 381 </activity> | 400 </activity> |
| 382 <activity android:name="org.chromium.chrome.browser.multiwindow.MultiIns
tanceChromeTabbedActivity" | 401 <activity android:name="org.chromium.chrome.browser.multiwindow.MultiIns
tanceChromeTabbedActivity" |
| (...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 929 choose the first MediaRouteController that can play it, so the orde
r of the list can be important. | 948 choose the first MediaRouteController that can play it, so the orde
r of the list can be important. |
| 930 The most specific MediaRouteControllers should be listed first, fol
lowed by more generic ones. | 949 The most specific MediaRouteControllers should be listed first, fol
lowed by more generic ones. |
| 931 The downstream manifest replaces this block, and hence replaces the
list of media route | 950 The downstream manifest replaces this block, and hence replaces the
list of media route |
| 932 controllers with its own list. --> | 951 controllers with its own list. --> |
| 933 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE
RS" | 952 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE
RS" |
| 934 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia
RouteController"/> | 953 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia
RouteController"/> |
| 935 | 954 |
| 936 {% endblock %} | 955 {% endblock %} |
| 937 </application> | 956 </application> |
| 938 </manifest> | 957 </manifest> |
| OLD | NEW |