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 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
403 android:hardwareAccelerated="false" | 403 android:hardwareAccelerated="false" |
404 android:taskAffinity="{{ manifest_package }}.webapps.WebappActivity{ { i }}" | 404 android:taskAffinity="{{ manifest_package }}.webapps.WebappActivity{ { i }}" |
405 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz e|mcc|mnc|screenLayout|smallestScreenSize"> | 405 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz e|mcc|mnc|screenLayout|smallestScreenSize"> |
406 </activity> | 406 </activity> |
407 <activity-alias android:name="com.google.android.apps.chrome.webapps.Web appActivity{{ i }}" | 407 <activity-alias android:name="com.google.android.apps.chrome.webapps.Web appActivity{{ i }}" |
408 android:targetActivity="org.chromium.chrome.browser.webapps.WebappAc tivity{{ i }}" | 408 android:targetActivity="org.chromium.chrome.browser.webapps.WebappAc tivity{{ i }}" |
409 android:icon="@mipmap/app_shortcut_icon" | 409 android:icon="@mipmap/app_shortcut_icon" |
410 android:label="@string/webapp_activity_title"> | 410 android:label="@string/webapp_activity_title"> |
411 </activity-alias> | 411 </activity-alias> |
412 {% endfor %} | 412 {% endfor %} |
413 <!-- | |
414 Activities for WebAPKs. | |
gone
2016/05/26 18:20:36
nit, because you don't have a TODO like I have abo
Xi Han
2016/05/26 20:54:57
Done.
| |
415 --> | |
416 <activity android:name="org.chromium.chrome.browser.webapps.WebApkActivi ty" | |
417 android:theme="@style/WebappTheme" | |
418 android:label="@string/webapp_activity_title" | |
419 android:launchMode="singleTop" | |
420 android:documentLaunchMode="intoExisting" | |
421 android:windowSoftInputMode="adjustResize" | |
422 android:persistableMode="persistNever" | |
423 android:hardwareAccelerated="false" | |
424 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz e|mcc|mnc|screenLayout|smallestScreenSize"> | |
425 </activity> | |
426 {% for i in range(10) %} | |
427 <activity android:name="org.chromium.chrome.browser.webapps.WebApkActivi ty{{ i }}" | |
428 android:theme="@style/WebappTheme" | |
429 android:icon="@mipmap/app_shortcut_icon" | |
430 android:label="@string/webapp_activity_title" | |
431 android:launchMode="singleTask" | |
432 android:windowSoftInputMode="adjustResize" | |
433 android:persistableMode="persistNever" | |
434 android:hardwareAccelerated="false" | |
435 android:taskAffinity="{{ manifest_package }}.webapps.WebApkActivity{ { i }}" | |
436 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz e|mcc|mnc|screenLayout|smallestScreenSize"> | |
437 </activity> | |
438 {% endfor %} | |
413 | 439 |
414 <activity android:name="org.chromium.chrome.browser.media.remote.Expande dControllerActivity" | 440 <activity android:name="org.chromium.chrome.browser.media.remote.Expande dControllerActivity" |
415 android:theme="@style/MainTheme" | 441 android:theme="@style/MainTheme" |
416 android:label="Chrome.ExpandedControllerActivity" | 442 android:label="Chrome.ExpandedControllerActivity" |
417 android:hardwareAccelerated="true" | 443 android:hardwareAccelerated="true" |
418 android:launchMode="singleTask" | 444 android:launchMode="singleTask" |
419 android:noHistory="true" | 445 android:noHistory="true" |
420 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz e|mcc|mnc|screenLayout|smallestScreenSize" | 446 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz e|mcc|mnc|screenLayout|smallestScreenSize" |
421 android:excludeFromRecents="true"> | 447 android:excludeFromRecents="true"> |
422 </activity> | 448 </activity> |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
800 choose the first MediaRouteController that can play it, so the orde r of the list can be important. | 826 choose the first MediaRouteController that can play it, so the orde r of the list can be important. |
801 The most specific MediaRouteControllers should be listed first, fol lowed by more generic ones. | 827 The most specific MediaRouteControllers should be listed first, fol lowed by more generic ones. |
802 The downstream manifest replaces this block, and hence replaces the list of media route | 828 The downstream manifest replaces this block, and hence replaces the list of media route |
803 controllers with its own list. --> | 829 controllers with its own list. --> |
804 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE RS" | 830 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE RS" |
805 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia RouteController"/> | 831 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia RouteController"/> |
806 | 832 |
807 {% endblock %} | 833 {% endblock %} |
808 </application> | 834 </application> |
809 </manifest> | 835 </manifest> |
OLD | NEW |