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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 <uses-permission android:name="android.permission.NFC"/> | 45 <uses-permission android:name="android.permission.NFC"/> |
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) %} |
| 56 {% if enable_vr_shell == "true" %} |
| 57 <!-- Required to read the paired viewer's distortion parameters. --> |
| 58 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> |
| 59 {% endif %} |
55 | 60 |
56 <permission android:name="{{ manifest_package }}.permission.CHILD_SERVICE" a
ndroid:protectionLevel="signature" /> | 61 <permission android:name="{{ manifest_package }}.permission.CHILD_SERVICE" a
ndroid:protectionLevel="signature" /> |
57 <permission android:name="{{ manifest_package }}.permission.READ_WRITE_BOOKM
ARK_FOLDERS" android:protectionLevel="signatureOrSystem" /> | 62 <permission android:name="{{ manifest_package }}.permission.READ_WRITE_BOOKM
ARK_FOLDERS" android:protectionLevel="signatureOrSystem" /> |
58 <permission android:name="{{ manifest_package }}.TOS_ACKED" android:protecti
onLevel="signatureOrSystem" /> | 63 <permission android:name="{{ manifest_package }}.TOS_ACKED" android:protecti
onLevel="signatureOrSystem" /> |
59 <!-- Only chrome can receive the messages and registration result --> | 64 <!-- Only chrome can receive the messages and registration result --> |
60 <permission android:name="{{ manifest_package }}.permission.C2D_MESSAGE" | 65 <permission android:name="{{ manifest_package }}.permission.C2D_MESSAGE" |
61 android:protectionLevel="signature" /> | 66 android:protectionLevel="signature" /> |
62 <permission android:name="{{ manifest_package }}.permission.DEBUG" | 67 <permission android:name="{{ manifest_package }}.permission.DEBUG" |
63 android:label="Debug web pages" | 68 android:label="Debug web pages" |
64 android:permissionGroup="android.permission-group.DEVELOPMENT_TO
OLS" | 69 android:permissionGroup="android.permission-group.DEVELOPMENT_TO
OLS" |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 <intent-filter> | 154 <intent-filter> |
150 <action android:name="android.intent.action.MAIN" /> | 155 <action android:name="android.intent.action.MAIN" /> |
151 <category android:name="android.intent.category.DEFAULT" /> | 156 <category android:name="android.intent.category.DEFAULT" /> |
152 <category android:name="android.intent.category.LAUNCHER" /> | 157 <category android:name="android.intent.category.LAUNCHER" /> |
153 <category android:name="android.intent.category.BROWSABLE" /> | 158 <category android:name="android.intent.category.BROWSABLE" /> |
154 <category android:name="android.intent.category.APP_BROWSER" /> | 159 <category android:name="android.intent.category.APP_BROWSER" /> |
155 <category android:name="android.intent.category.NOTIFICATION_PRE
FERENCES" /> | 160 <category android:name="android.intent.category.NOTIFICATION_PRE
FERENCES" /> |
156 {% if channel in ['dev', 'canary', 'default'] %} | 161 {% if channel in ['dev', 'canary', 'default'] %} |
157 <category android:name="android.intent.category.MULTIWINDOW_LAUN
CHER" /> | 162 <category android:name="android.intent.category.MULTIWINDOW_LAUN
CHER" /> |
158 {% endif %} | 163 {% endif %} |
159 {% set enable_vr_shell = enable_vr_shell|default(0) %} | |
160 {% if enable_vr_shell == "true" %} | |
161 <!-- Show icon in Daydream app launcher. --> | |
162 <category android:name="com.google.intent.category.DAYDREAM" /> | |
163 {% endif %} | |
164 </intent-filter> | 164 </intent-filter> |
165 <!-- Matches the common case of intents with no MIME type. | 165 <!-- Matches the common case of intents with no MIME type. |
166 Make sure to keep in sync with the next filter. --> | 166 Make sure to keep in sync with the next filter. --> |
167 <intent-filter> | 167 <intent-filter> |
168 <action android:name="android.intent.action.VIEW" /> | 168 <action android:name="android.intent.action.VIEW" /> |
169 <category android:name="android.intent.category.DEFAULT" /> | 169 <category android:name="android.intent.category.DEFAULT" /> |
170 <category android:name="android.intent.category.BROWSABLE" /> | 170 <category android:name="android.intent.category.BROWSABLE" /> |
171 {% if channel in ['stable', 'default'] %}<data android:scheme="g
ooglechrome" />{% endif %} | 171 {% if channel in ['stable', 'default'] %}<data android:scheme="g
ooglechrome" />{% endif %} |
172 <data android:scheme="http" /> | 172 <data android:scheme="http" /> |
173 <data android:scheme="https" /> | 173 <data android:scheme="https" /> |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 | 337 |
338 <!-- ChromeTabbedActivity related --> | 338 <!-- ChromeTabbedActivity related --> |
339 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity
" | 339 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity
" |
340 android:theme="@style/TabbedModeTheme" | 340 android:theme="@style/TabbedModeTheme" |
341 android:exported="false" | 341 android:exported="false" |
342 android:windowSoftInputMode="adjustResize" | 342 android:windowSoftInputMode="adjustResize" |
343 android:launchMode="singleTask" | 343 android:launchMode="singleTask" |
344 android:configChanges="orientation|keyboardHidden|keyboard|screenSi
ze|mcc|mnc|screenLayout|smallestScreenSize" | 344 android:configChanges="orientation|keyboardHidden|keyboard|screenSi
ze|mcc|mnc|screenLayout|smallestScreenSize" |
345 android:hardwareAccelerated="false"> | 345 android:hardwareAccelerated="false"> |
346 </activity> | 346 </activity> |
| 347 {% if enable_vr_shell == "true" %} |
| 348 <activity android:name="org.chromium.chrome.browser.ChromeVrActivity" |
| 349 android:theme="@style/TabbedModeTheme" |
| 350 android:exported="false" |
| 351 android:windowSoftInputMode="stateAlwaysHidden" |
| 352 android:launchMode="singleTask" |
| 353 android:screenOrientation="landscape" |
| 354 android:hardwareAccelerated="false"> |
| 355 </activity> |
| 356 <activity-alias android:name="com.google.android.apps.chrome.VrMain" |
| 357 android:targetActivity="org.chromium.chrome.browser.ChromeVrActivity
" |
| 358 android:exported="true"> |
| 359 <intent-filter> |
| 360 <action android:name="android.intent.action.MAIN" /> |
| 361 <category android:name="android.intent.category.LAUNCHER" /> |
| 362 <!-- Show icon in Daydream app launcher. --> |
| 363 <category android:name="com.google.intent.category.DAYDREAM" /> |
| 364 </intent-filter> |
| 365 </activity-alias> |
| 366 {% endif %} |
347 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity
2" | 367 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity
2" |
348 android:theme="@style/TabbedModeTheme" | 368 android:theme="@style/TabbedModeTheme" |
349 android:exported="false" | 369 android:exported="false" |
350 android:windowSoftInputMode="adjustResize" | 370 android:windowSoftInputMode="adjustResize" |
351 android:taskAffinity="{{ manifest_package }}.ChromeTabbedActivity2" | 371 android:taskAffinity="{{ manifest_package }}.ChromeTabbedActivity2" |
352 android:launchMode="singleTask" | 372 android:launchMode="singleTask" |
353 android:configChanges="orientation|keyboardHidden|keyboard|screenSi
ze|mcc|mnc|screenLayout|smallestScreenSize" | 373 android:configChanges="orientation|keyboardHidden|keyboard|screenSi
ze|mcc|mnc|screenLayout|smallestScreenSize" |
354 android:hardwareAccelerated="false"> | 374 android:hardwareAccelerated="false"> |
355 </activity> | 375 </activity> |
356 <activity android:name="org.chromium.chrome.browser.multiwindow.MultiIns
tanceChromeTabbedActivity" | 376 <activity android:name="org.chromium.chrome.browser.multiwindow.MultiIns
tanceChromeTabbedActivity" |
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
909 choose the first MediaRouteController that can play it, so the orde
r of the list can be important. | 929 choose the first MediaRouteController that can play it, so the orde
r of the list can be important. |
910 The most specific MediaRouteControllers should be listed first, fol
lowed by more generic ones. | 930 The most specific MediaRouteControllers should be listed first, fol
lowed by more generic ones. |
911 The downstream manifest replaces this block, and hence replaces the
list of media route | 931 The downstream manifest replaces this block, and hence replaces the
list of media route |
912 controllers with its own list. --> | 932 controllers with its own list. --> |
913 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE
RS" | 933 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE
RS" |
914 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia
RouteController"/> | 934 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia
RouteController"/> |
915 | 935 |
916 {% endblock %} | 936 {% endblock %} |
917 </application> | 937 </application> |
918 </manifest> | 938 </manifest> |
OLD | NEW |