| 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 android:exported="false"> | 286 android:exported="false"> |
| 287 <intent-filter> | 287 <intent-filter> |
| 288 <action android:name="android.intent.action.MY_PACKAGE_REPLACED"
/> | 288 <action android:name="android.intent.action.MY_PACKAGE_REPLACED"
/> |
| 289 </intent-filter> | 289 </intent-filter> |
| 290 </receiver> | 290 </receiver> |
| 291 | 291 |
| 292 <!-- Document mode Activities. --> | 292 <!-- Document mode Activities. --> |
| 293 <activity android:name="org.chromium.chrome.browser.document.DocumentAct
ivity" | 293 <activity android:name="org.chromium.chrome.browser.document.DocumentAct
ivity" |
| 294 android:exported="false" | 294 android:exported="false" |
| 295 android:theme="@style/MainTheme" | 295 android:theme="@style/MainTheme" |
| 296 android:windowSoftInputMode="adjustResize" | |
| 297 android:taskAffinity="" | 296 android:taskAffinity="" |
| 298 android:persistableMode="persistAcrossReboots" | 297 android:persistableMode="persistAcrossReboots" |
| 299 android:autoRemoveFromRecents="false" | 298 android:autoRemoveFromRecents="false" |
| 300 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" | 299 {{ self.chrome_activity_common() }}> |
| 301 android:hardwareAccelerated="false"> | |
| 302 </activity> | 300 </activity> |
| 303 <activity-alias android:name="com.google.android.apps.chrome.document.Do
cumentActivity" | 301 <activity-alias android:name="com.google.android.apps.chrome.document.Do
cumentActivity" |
| 304 android:targetActivity="org.chromium.chrome.browser.document.Documen
tActivity" | 302 android:targetActivity="org.chromium.chrome.browser.document.Documen
tActivity" |
| 305 android:exported="false"/> | 303 android:exported="false"/> |
| 306 <activity android:name="org.chromium.chrome.browser.document.IncognitoDo
cumentActivity" | 304 <activity android:name="org.chromium.chrome.browser.document.IncognitoDo
cumentActivity" |
| 307 android:icon="@mipmap/incognito_app_icon" | 305 android:icon="@mipmap/incognito_app_icon" |
| 308 android:exported="false" | 306 android:exported="false" |
| 309 android:theme="@style/IncognitoTheme" | 307 android:theme="@style/IncognitoTheme" |
| 310 android:windowSoftInputMode="adjustResize" | |
| 311 android:taskAffinity="" | 308 android:taskAffinity="" |
| 312 android:persistableMode="persistNever" | 309 android:persistableMode="persistNever" |
| 313 android:autoRemoveFromRecents="false" | 310 android:autoRemoveFromRecents="false" |
| 314 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" | 311 {{ self.chrome_activity_common() }}> |
| 315 android:hardwareAccelerated="false"> | |
| 316 </activity> | 312 </activity> |
| 317 <activity-alias android:name="com.google.android.apps.chrome.document.In
cognitoDocumentActivity" | 313 <activity-alias android:name="com.google.android.apps.chrome.document.In
cognitoDocumentActivity" |
| 318 android:targetActivity="org.chromium.chrome.browser.document.Incogni
toDocumentActivity" | 314 android:targetActivity="org.chromium.chrome.browser.document.Incogni
toDocumentActivity" |
| 319 android:exported="false"/> | 315 android:exported="false"/> |
| 320 | 316 |
| 321 <!-- Custom Tabs --> | 317 <!-- Custom Tabs --> |
| 322 <activity android:name="org.chromium.chrome.browser.customtabs.CustomTab
Activity" | 318 <activity android:name="org.chromium.chrome.browser.customtabs.CustomTab
Activity" |
| 323 android:theme="@style/MainTheme" | 319 android:theme="@style/MainTheme" |
| 324 android:exported="false" | 320 android:exported="false" |
| 325 android:windowSoftInputMode="adjustResize" | 321 {{ self.chrome_activity_common() }} |
| 326 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" | |
| 327 android:hardwareAccelerated="false" | |
| 328 {{ self.supports_video_persistence() }} > | 322 {{ self.supports_video_persistence() }} > |
| 329 </activity> | 323 </activity> |
| 330 <activity android:name="org.chromium.chrome.browser.customtabs.SeparateT
askCustomTabActivity" | 324 <activity android:name="org.chromium.chrome.browser.customtabs.SeparateT
askCustomTabActivity" |
| 331 android:theme="@style/MainTheme" | 325 android:theme="@style/MainTheme" |
| 332 android:exported="false" | 326 android:exported="false" |
| 333 android:taskAffinity="" | 327 android:taskAffinity="" |
| 334 android:windowSoftInputMode="adjustResize" | |
| 335 android:persistableMode="persistNever" | 328 android:persistableMode="persistNever" |
| 336 android:autoRemoveFromRecents="false" | 329 android:autoRemoveFromRecents="false" |
| 337 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" | 330 {{ self.chrome_activity_common() }} |
| 338 android:hardwareAccelerated="false" | |
| 339 {{ self.supports_video_persistence() }} > | 331 {{ self.supports_video_persistence() }} > |
| 340 </activity> | 332 </activity> |
| 341 {% for i in range(10) %} | 333 {% for i in range(10) %} |
| 342 <activity android:name="org.chromium.chrome.browser.customtabs.SeparateT
askCustomTabActivity{{ i }}" | 334 <activity android:name="org.chromium.chrome.browser.customtabs.SeparateT
askCustomTabActivity{{ i }}" |
| 343 android:theme="@style/MainTheme" | 335 android:theme="@style/MainTheme" |
| 344 android:icon="@mipmap/app_single_page_icon" | 336 android:icon="@mipmap/app_single_page_icon" |
| 345 android:exported="false" | 337 android:exported="false" |
| 346 android:launchMode="singleTask" | 338 android:launchMode="singleTask" |
| 347 android:windowSoftInputMode="adjustResize" | |
| 348 android:persistableMode="persistNever" | 339 android:persistableMode="persistNever" |
| 349 android:taskAffinity="" | 340 android:taskAffinity="" |
| 350 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" | 341 {{ self.chrome_activity_common() }} |
| 351 android:hardwareAccelerated="false" | |
| 352 {{ self.supports_video_persistence() }} > | 342 {{ self.supports_video_persistence() }} > |
| 353 </activity> | 343 </activity> |
| 354 {% endfor %} | 344 {% endfor %} |
| 355 | 345 |
| 356 <!-- ChromeTabbedActivity related --> | 346 <!-- ChromeTabbedActivity related --> |
| 357 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity
" | 347 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity
" |
| 358 android:theme="@style/TabbedModeTheme" | 348 android:theme="@style/TabbedModeTheme" |
| 359 android:exported="false" | 349 android:exported="false" |
| 360 android:windowSoftInputMode="adjustResize" | |
| 361 android:launchMode="singleTask" | 350 android:launchMode="singleTask" |
| 362 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize|uiMode" | |
| 363 android:hardwareAccelerated="false" | |
| 364 {# We can only use blocks once in Jinja, for future substitutions we
use | 351 {# We can only use blocks once in Jinja, for future substitutions we
use |
| 365 self.supports_video_persistence(). #} | 352 self.supports_video_persistence(). #} |
| 366 {% block supports_video_persistence %} | 353 {% block supports_video_persistence %} |
| 367 {% endblock %} | 354 {% endblock %} |
| 355 {% block chrome_activity_common %} |
| 356 android:windowSoftInputMode="adjustResize" |
| 357 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize|uiMode" |
| 358 android:hardwareAccelerated="false" |
| 359 {% endblock %} |
| 368 > | 360 > |
| 369 </activity> | 361 </activity> |
| 370 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity
2" | 362 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity
2" |
| 371 android:theme="@style/TabbedModeTheme" | 363 android:theme="@style/TabbedModeTheme" |
| 372 android:exported="false" | 364 android:exported="false" |
| 373 android:windowSoftInputMode="adjustResize" | 365 android:taskAffinity="{{ manifest_package }}.ChromeTabbedActivity2" |
| 374 android:taskAffinity="{{ manifest_package }}.ChromeTabbedActivity2" | 366 android:launchMode="singleTask" |
| 375 android:launchMode="singleTask" | 367 {{ self.chrome_activity_common() }}> |
| 376 android:configChanges="orientation|keyboardHidden|keyboard|screenSi
ze|mcc|mnc|screenLayout|smallestScreenSize|uiMode" | |
| 377 android:hardwareAccelerated="false" | |
| 378 {{ self.supports_video_persistence() }} | |
| 379 > | |
| 380 </activity> | 368 </activity> |
| 381 <activity android:name="org.chromium.chrome.browser.multiwindow.MultiIns
tanceChromeTabbedActivity" | 369 <activity android:name="org.chromium.chrome.browser.multiwindow.MultiIns
tanceChromeTabbedActivity" |
| 382 android:theme="@style/TabbedModeTheme" | 370 android:theme="@style/TabbedModeTheme" |
| 383 android:exported="false" | 371 android:exported="false" |
| 384 android:windowSoftInputMode="adjustResize" | 372 {{ self.chrome_activity_common() }}> |
| 385 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize|uiMode" | |
| 386 android:hardwareAccelerated="false"> | |
| 387 </activity> | 373 </activity> |
| 388 | 374 |
| 389 <activity android:name="org.chromium.chrome.browser.sync.ui.PassphraseAc
tivity" | 375 <activity android:name="org.chromium.chrome.browser.sync.ui.PassphraseAc
tivity" |
| 390 android:theme="@style/MainTheme" | 376 android:theme="@style/MainTheme" |
| 391 android:autoRemoveFromRecents="true"> | 377 android:autoRemoveFromRecents="true"> |
| 392 </activity> | 378 </activity> |
| 393 <activity android:name="org.chromium.chrome.browser.firstrun.Lightweight
FirstRunActivity" | 379 <activity android:name="org.chromium.chrome.browser.firstrun.Lightweight
FirstRunActivity" |
| 394 android:theme="@style/SimpleDialog" | 380 android:theme="@style/SimpleDialog" |
| 395 android:launchMode="singleTop" | 381 android:launchMode="singleTop" |
| 396 android:autoRemoveFromRecents="true" | 382 android:autoRemoveFromRecents="true" |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 487 <category android:name="android.intent.category.DEFAULT" /> | 473 <category android:name="android.intent.category.DEFAULT" /> |
| 488 </intent-filter> | 474 </intent-filter> |
| 489 </activity> | 475 </activity> |
| 490 <activity-alias android:name="com.google.android.apps.chrome.webapps.Web
appManager" | 476 <activity-alias android:name="com.google.android.apps.chrome.webapps.Web
appManager" |
| 491 android:targetActivity="org.chromium.chrome.browser.webapps.WebappLa
uncherActivity"> | 477 android:targetActivity="org.chromium.chrome.browser.webapps.WebappLa
uncherActivity"> |
| 492 </activity-alias> | 478 </activity-alias> |
| 493 <activity android:name="org.chromium.chrome.browser.webapps.WebappActivi
ty" | 479 <activity android:name="org.chromium.chrome.browser.webapps.WebappActivi
ty" |
| 494 android:theme="@style/WebappTheme" | 480 android:theme="@style/WebappTheme" |
| 495 android:label="@string/webapp_activity_title" | 481 android:label="@string/webapp_activity_title" |
| 496 android:documentLaunchMode="intoExisting" | 482 android:documentLaunchMode="intoExisting" |
| 497 android:windowSoftInputMode="adjustResize" | |
| 498 android:persistableMode="persistNever" | 483 android:persistableMode="persistNever" |
| 499 android:hardwareAccelerated="false" | 484 {{ self.supports_video_persistence() }} |
| 500 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" | 485 {{ self.chrome_activity_common() }}> |
| 501 {{ self.supports_video_persistence() }} > | |
| 502 </activity> | 486 </activity> |
| 503 <activity-alias android:name="com.google.android.apps.chrome.webapps.Web
appActivity" | 487 <activity-alias android:name="com.google.android.apps.chrome.webapps.Web
appActivity" |
| 504 android:targetActivity="org.chromium.chrome.browser.webapps.WebappAc
tivity" | 488 android:targetActivity="org.chromium.chrome.browser.webapps.WebappAc
tivity" |
| 505 android:label="@string/webapp_activity_title" | 489 android:label="@string/webapp_activity_title" |
| 506 {{ self.supports_video_persistence() }} > | 490 {{ self.supports_video_persistence() }} > |
| 507 </activity-alias> | 491 </activity-alias> |
| 508 {% for i in range(10) %} | 492 {% for i in range(10) %} |
| 509 <activity android:name="org.chromium.chrome.browser.webapps.WebappActivi
ty{{ i }}" | 493 <activity android:name="org.chromium.chrome.browser.webapps.WebappActivi
ty{{ i }}" |
| 510 android:theme="@style/WebappTheme" | 494 android:theme="@style/WebappTheme" |
| 511 android:icon="@mipmap/app_shortcut_icon" | 495 android:icon="@mipmap/app_shortcut_icon" |
| 512 android:label="@string/webapp_activity_title" | 496 android:label="@string/webapp_activity_title" |
| 513 android:launchMode="singleTask" | 497 android:launchMode="singleTask" |
| 514 android:windowSoftInputMode="adjustResize" | |
| 515 android:persistableMode="persistNever" | 498 android:persistableMode="persistNever" |
| 516 android:hardwareAccelerated="false" | |
| 517 android:taskAffinity="{{ manifest_package }}.webapps.WebappActivity{
{ i }}" | 499 android:taskAffinity="{{ manifest_package }}.webapps.WebappActivity{
{ i }}" |
| 518 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" | 500 {{ self.supports_video_persistence() }} |
| 519 {{ self.supports_video_persistence() }} > | 501 {{ self.chrome_activity_common() }}> |
| 520 </activity> | 502 </activity> |
| 521 <activity-alias android:name="com.google.android.apps.chrome.webapps.Web
appActivity{{ i }}" | 503 <activity-alias android:name="com.google.android.apps.chrome.webapps.Web
appActivity{{ i }}" |
| 522 android:targetActivity="org.chromium.chrome.browser.webapps.WebappAc
tivity{{ i }}" | 504 android:targetActivity="org.chromium.chrome.browser.webapps.WebappAc
tivity{{ i }}" |
| 523 android:icon="@mipmap/app_shortcut_icon" | 505 android:icon="@mipmap/app_shortcut_icon" |
| 524 android:label="@string/webapp_activity_title"> | 506 android:label="@string/webapp_activity_title"> |
| 525 </activity-alias> | 507 </activity-alias> |
| 526 {% endfor %} | 508 {% endfor %} |
| 527 <!-- Activities for WebAPKs. --> | 509 <!-- Activities for WebAPKs. --> |
| 528 <activity android:name="org.chromium.chrome.browser.webapps.WebApkActivi
ty" | 510 <activity android:name="org.chromium.chrome.browser.webapps.WebApkActivi
ty" |
| 529 android:theme="@style/WebappTheme" | 511 android:theme="@style/WebappTheme" |
| 530 android:label="@string/webapp_activity_title" | 512 android:label="@string/webapp_activity_title" |
| 531 android:launchMode="singleTop" | 513 android:launchMode="singleTop" |
| 532 android:documentLaunchMode="intoExisting" | 514 android:documentLaunchMode="intoExisting" |
| 533 android:windowSoftInputMode="adjustResize" | |
| 534 android:persistableMode="persistNever" | 515 android:persistableMode="persistNever" |
| 535 android:hardwareAccelerated="false" | 516 {{ self.supports_video_persistence() }} |
| 536 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" | 517 {{ self.chrome_activity_common() }}> |
| 537 {{ self.supports_video_persistence() }} > | |
| 538 </activity> | 518 </activity> |
| 539 {% for i in range(10) %} | 519 {% for i in range(10) %} |
| 540 <activity android:name="org.chromium.chrome.browser.webapps.WebApkActivi
ty{{ i }}" | 520 <activity android:name="org.chromium.chrome.browser.webapps.WebApkActivi
ty{{ i }}" |
| 541 android:theme="@style/WebappTheme" | 521 android:theme="@style/WebappTheme" |
| 542 android:icon="@mipmap/app_shortcut_icon" | 522 android:icon="@mipmap/app_shortcut_icon" |
| 543 android:label="@string/webapp_activity_title" | 523 android:label="@string/webapp_activity_title" |
| 544 android:launchMode="singleTask" | 524 android:launchMode="singleTask" |
| 545 android:windowSoftInputMode="adjustResize" | |
| 546 android:persistableMode="persistNever" | 525 android:persistableMode="persistNever" |
| 547 android:hardwareAccelerated="false" | |
| 548 android:taskAffinity="{{ manifest_package }}.webapps.WebApkActivity{
{ i }}" | 526 android:taskAffinity="{{ manifest_package }}.webapps.WebApkActivity{
{ i }}" |
| 549 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" | 527 {{ self.supports_video_persistence() }} |
| 550 {{ self.supports_video_persistence() }} > | 528 {{ self.chrome_activity_common() }}> |
| 551 </activity> | 529 </activity> |
| 552 {% endfor %} | 530 {% endfor %} |
| 553 | 531 |
| 554 <activity android:name="org.chromium.chrome.browser.media.remote.Expande
dControllerActivity" | 532 <activity android:name="org.chromium.chrome.browser.media.remote.Expande
dControllerActivity" |
| 555 android:theme="@style/MainTheme" | 533 android:theme="@style/MainTheme" |
| 556 android:label="Chrome.ExpandedControllerActivity" | 534 android:label="Chrome.ExpandedControllerActivity" |
| 557 android:hardwareAccelerated="true" | 535 android:hardwareAccelerated="true" |
| 558 android:launchMode="singleTask" | 536 android:launchMode="singleTask" |
| 559 android:noHistory="true" | 537 android:noHistory="true" |
| 560 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" | 538 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz
e|mcc|mnc|screenLayout|smallestScreenSize" |
| (...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 973 choose the first MediaRouteController that can play it, so the orde
r of the list can be important. | 951 choose the first MediaRouteController that can play it, so the orde
r of the list can be important. |
| 974 The most specific MediaRouteControllers should be listed first, fol
lowed by more generic ones. | 952 The most specific MediaRouteControllers should be listed first, fol
lowed by more generic ones. |
| 975 The downstream manifest replaces this block, and hence replaces the
list of media route | 953 The downstream manifest replaces this block, and hence replaces the
list of media route |
| 976 controllers with its own list. --> | 954 controllers with its own list. --> |
| 977 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE
RS" | 955 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE
RS" |
| 978 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia
RouteController"/> | 956 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia
RouteController"/> |
| 979 | 957 |
| 980 {% endblock %} | 958 {% endblock %} |
| 981 </application> | 959 </application> |
| 982 </manifest> | 960 </manifest> |
| OLD | NEW |