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 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
708 | 708 |
709 | 709 |
710 <meta-data android:name="com.google.android.gms.version" | 710 <meta-data android:name="com.google.android.gms.version" |
711 android:value="@integer/google_play_services_version" /> | 711 android:value="@integer/google_play_services_version" /> |
712 | 712 |
713 <meta-data android:name="org.chromium.content.browser.SMART_CLIP_PROVIDE
R" | 713 <meta-data android:name="org.chromium.content.browser.SMART_CLIP_PROVIDE
R" |
714 android:value="org.chromium.content.browser.SmartClipProvider"/> | 714 android:value="org.chromium.content.browser.SmartClipProvider"/> |
715 <meta-data android:name="org.chromium.components.service_tab_launcher.SE
RVICE_TAB_LAUNCHER" | 715 <meta-data android:name="org.chromium.components.service_tab_launcher.SE
RVICE_TAB_LAUNCHER" |
716 android:value="org.chromium.chrome.browser.ChromeServiceTabLa
uncher" /> | 716 android:value="org.chromium.chrome.browser.ChromeServiceTabLa
uncher" /> |
717 | 717 |
| 718 {% set enable_leakcanary = enable_leakcanary|default(0) %} |
| 719 {% if enable_leakcanary == "true" %} |
| 720 {# Entries for LeakCanary copied from (and then tweaked): |
| 721 //third_party/leakcanary/src/leakcanary-android/src/main/AndroidM
anifest.xml #} |
| 722 <service |
| 723 android:name="com.squareup.leakcanary.internal.HeapAnalyzerService
" |
| 724 android:process=":leakcanary" |
| 725 android:enabled="false" /> |
| 726 <activity |
| 727 android:theme="@style/leak_canary_LeakCanary.Base" |
| 728 android:name="com.squareup.leakcanary.internal.DisplayLeakActivity
" |
| 729 android:process=":leakcanary2" {# Added to avoid StrictMode viola
tions crashing the activity #} |
| 730 android:label="@string/app_name" {# Changed from "string/leak_can
ary_display_activity_label" to help distinguaish when multiple apps include leak
canary. #} |
| 731 android:icon="@drawable/leak_canary_icon" |
| 732 android:taskAffinity=".com.squareup.leakcanary"> {# Added leading
"." for multi-app case. #} |
| 733 <intent-filter> |
| 734 <action android:name="android.intent.action.MAIN" /> |
| 735 <category android:name="android.intent.category.LAUNCHER" /> |
| 736 </intent-filter> |
| 737 </activity> |
| 738 <service |
| 739 android:name="com.squareup.leakcanary.DisplayLeakService" |
| 740 android:process=":leakcanary2" {# Added to minimize interaction w
ith browser process. #} |
| 741 android:enabled="false" /> |
| 742 <activity {# This is just a toast-like overlay, so leaving in browser
process #} |
| 743 android:theme="@style/leak_canary_Theme.Transparent" |
| 744 android:name="com.squareup.leakcanary.internal.RequestStoragePermi
ssionActivity" |
| 745 android:taskAffinity="com.squareup.leakcanary" |
| 746 android:enabled="false" |
| 747 android:icon="@drawable/leak_canary_icon" |
| 748 android:label="@string/leak_canary_storage_permission_activity_lab
el" /> |
| 749 {% endif %} |
| 750 |
718 {% block extra_application_definitions %} | 751 {% block extra_application_definitions %} |
719 | 752 |
720 <!-- Media route controllers to use for remote playback (cast). | 753 <!-- Media route controllers to use for remote playback (cast). |
721 This is here, rather than in code, since it varies between upstream
and downstream, | 754 This is here, rather than in code, since it varies between upstream
and downstream, |
722 yet we need this list of classes in the notification service, which
belongs upstream | 755 yet we need this list of classes in the notification service, which
belongs upstream |
723 and doesn't run the downstream startup code. The Cast code will, fo
r each media element, | 756 and doesn't run the downstream startup code. The Cast code will, fo
r each media element, |
724 choose the first MediaRouteController that can play it, so the orde
r of the list can be important. | 757 choose the first MediaRouteController that can play it, so the orde
r of the list can be important. |
725 The most specific MediaRouteControllers should be listed first, fol
lowed by more generic ones. | 758 The most specific MediaRouteControllers should be listed first, fol
lowed by more generic ones. |
726 The downstream manifest replaces this block, and hence replaces the
list of media route | 759 The downstream manifest replaces this block, and hence replaces the
list of media route |
727 controllers with its own list. --> | 760 controllers with its own list. --> |
728 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE
RS" | 761 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE
RS" |
729 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia
RouteController"/> | 762 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia
RouteController"/> |
730 | 763 |
731 {% endblock %} | 764 {% endblock %} |
732 </application> | 765 </application> |
733 </manifest> | 766 </manifest> |
OLD | NEW |