Svet Ganov | 4bad641 | 2016-01-29 19:05:31 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2016 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
Chris Wren | 29b8c0b | 2016-03-01 17:17:47 -0500 | [diff] [blame] | 18 | xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" |
Chang Li | 7d2e351 | 2021-02-19 19:56:45 +0000 | [diff] [blame] | 19 | xmlns:tools="http://schemas.android.com/tools" |
Svet Ganov | 4bad641 | 2016-01-29 19:05:31 -0800 | [diff] [blame] | 20 | package="android.ext.services" |
lpeter | a3a4753 | 2020-12-07 23:59:08 +0800 | [diff] [blame] | 21 | android:versionCode="309999900" |
Akshay | aaca2d2 | 2019-06-07 13:31:46 -0700 | [diff] [blame] | 22 | android:versionName="2019-09" |
Svet Ganov | 4bad641 | 2016-01-29 19:05:31 -0800 | [diff] [blame] | 23 | coreApp="true"> |
| 24 | |
Kang Li | 732669d | 2017-04-13 09:17:07 -0700 | [diff] [blame] | 25 | <uses-permission android:name="android.permission.PROVIDE_RESOLVER_RANKER_SERVICE" /> |
Stanislav Zholnin | 3649482 | 2019-01-28 15:53:23 +0000 | [diff] [blame] | 26 | <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" /> |
Kang Li | 732669d | 2017-04-13 09:17:07 -0700 | [diff] [blame] | 27 | |
Nadia Benbernou | e5d1214 | 2019-01-28 11:26:46 -0500 | [diff] [blame] | 28 | <uses-permission android:name="android.permission.MONITOR_DEFAULT_SMS_PACKAGE" /> |
Julia Reynolds | 72587ce | 2019-03-03 16:10:52 -0500 | [diff] [blame] | 29 | <uses-permission android:name="android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE" /> |
Zimuzo | 2bb41f7 | 2019-03-26 13:04:13 +0000 | [diff] [blame] | 30 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
Julia Reynolds | 41f9529 | 2019-08-14 16:52:08 +0000 | [diff] [blame] | 31 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> |
Tony Mak | 45604e5 | 2019-09-03 17:17:44 +0100 | [diff] [blame] | 32 | <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> |
Feng Cao | 0ad1649 | 2020-02-17 18:28:40 -0800 | [diff] [blame] | 33 | <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> |
Chang Li | 7d2e351 | 2021-02-19 19:56:45 +0000 | [diff] [blame] | 34 | <!-- INTERNET permission is restricted to TextClassifier downloader process only --> |
| 35 | <uses-permission android:name="android.permission.INTERNET" /> |
| 36 | <!-- Remove unused permissions merged from WorkManager library --> |
| 37 | <uses-permission android:name="android.permission.WAKE_LOCK" tools:node="remove" /> |
| 38 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE" tools:node="remove" /> |
Nadia Benbernou | e5d1214 | 2019-01-28 11:26:46 -0500 | [diff] [blame] | 39 | |
lpeter | 95966a8 | 2021-01-26 11:15:14 +0800 | [diff] [blame] | 40 | <uses-sdk |
Joanne Chung | 0fb099c | 2022-05-11 16:00:47 +0800 | [diff] [blame] | 41 | android:targetSdkVersion="31" |
Jeff Hamilton | f03dded | 2019-03-06 22:47:42 -0500 | [diff] [blame] | 42 | /> |
| 43 | |
Chang Li | 7d2e351 | 2021-02-19 19:56:45 +0000 | [diff] [blame] | 44 | <application |
| 45 | android:name=".ExtServicesApplication" |
| 46 | android:label="@string/app_name" |
Patrick Baumann | 7fc0e44 | 2020-02-13 10:18:33 -0800 | [diff] [blame] | 47 | android:forceQueryable="true" |
Feng Cao | 61554aa | 2020-06-19 15:05:32 -0700 | [diff] [blame] | 48 | android:supportsRtl="true"> |
Svet Ganov | 4bad641 | 2016-01-29 19:05:31 -0800 | [diff] [blame] | 49 | |
Chang Li | 7d2e351 | 2021-02-19 19:56:45 +0000 | [diff] [blame] | 50 | <processes> |
| 51 | <!-- Deny INTERNET permission for all processes by default --> |
| 52 | <deny-permission android:name="android.permission.INTERNET" /> |
| 53 | <process /> |
| 54 | <process android:process=":modelDownloaderServiceProcess"> |
| 55 | <allow-permission android:name="android.permission.INTERNET" /> |
| 56 | </process> |
| 57 | </processes> |
| 58 | |
Daniel Nishi | 059a8bf | 2017-01-23 14:33:42 -0800 | [diff] [blame] | 59 | <service android:name=".storage.CacheQuotaServiceImpl" |
Ashwini Oruganti | 5763e12 | 2020-05-19 18:23:58 -0700 | [diff] [blame] | 60 | android:exported="true" |
Chang Li | 4549e2d | 2022-02-17 00:47:17 +0000 | [diff] [blame] | 61 | android:directBootAware="true" |
Daniel Nishi | 059a8bf | 2017-01-23 14:33:42 -0800 | [diff] [blame] | 62 | android:permission="android.permission.BIND_CACHE_QUOTA_SERVICE"> |
| 63 | <intent-filter> |
| 64 | <action android:name="android.app.usage.CacheQuotaService" /> |
| 65 | </intent-filter> |
| 66 | </service> |
| 67 | |
Kang Li | 732669d | 2017-04-13 09:17:07 -0700 | [diff] [blame] | 68 | <service android:name=".resolver.LRResolverRankerService" |
Ashwini Oruganti | 5763e12 | 2020-05-19 18:23:58 -0700 | [diff] [blame] | 69 | android:exported="true" |
Chang Li | 4549e2d | 2022-02-17 00:47:17 +0000 | [diff] [blame] | 70 | android:directBootAware="true" |
Kang Li | b95151b | 2018-02-13 16:33:38 -0800 | [diff] [blame] | 71 | android:permission="android.permission.BIND_RESOLVER_RANKER_SERVICE"> |
| 72 | <intent-filter android:priority="-1"> |
Kang Li | 732669d | 2017-04-13 09:17:07 -0700 | [diff] [blame] | 73 | <action android:name="android.service.resolver.ResolverRankerService" /> |
| 74 | </intent-filter> |
| 75 | </service> |
| 76 | |
Julia Reynolds | 19afcc1 | 2017-10-04 16:09:29 -0400 | [diff] [blame] | 77 | <service android:name=".notification.Assistant" |
| 78 | android:label="@string/notification_assistant" |
Chang Li | 4549e2d | 2022-02-17 00:47:17 +0000 | [diff] [blame] | 79 | android:directBootAware="true" |
Julia Reynolds | 19afcc1 | 2017-10-04 16:09:29 -0400 | [diff] [blame] | 80 | android:permission="android.permission.BIND_NOTIFICATION_ASSISTANT_SERVICE" |
| 81 | android:exported="true"> |
| 82 | <intent-filter> |
| 83 | <action android:name="android.service.notification.NotificationAssistantService" /> |
| 84 | </intent-filter> |
| 85 | </service> |
| 86 | |
Felipe Leme | 1daafa8 | 2018-01-05 17:04:10 -0800 | [diff] [blame] | 87 | <service android:name=".autofill.AutofillFieldClassificationServiceImpl" |
Ashwini Oruganti | 5763e12 | 2020-05-19 18:23:58 -0700 | [diff] [blame] | 88 | android:exported="true" |
Chang Li | 4549e2d | 2022-02-17 00:47:17 +0000 | [diff] [blame] | 89 | android:directBootAware="true" |
Felipe Leme | 1daafa8 | 2018-01-05 17:04:10 -0800 | [diff] [blame] | 90 | android:permission="android.permission.BIND_AUTOFILL_FIELD_CLASSIFICATION_SERVICE"> |
| 91 | <intent-filter> |
| 92 | <action android:name="android.service.autofill.AutofillFieldClassificationService" /> |
| 93 | </intent-filter> |
Ryan Mitchell | e7975e9 | 2018-08-21 17:03:04 -0700 | [diff] [blame] | 94 | <meta-data |
| 95 | android:name="android.autofill.field_classification.default_algorithm" |
| 96 | android:resource="@string/autofill_field_classification_default_algorithm" /> |
| 97 | <meta-data |
| 98 | android:name="android.autofill.field_classification.available_algorithms" |
| 99 | android:resource="@array/autofill_field_classification_available_algorithms" /> |
Felipe Leme | 1daafa8 | 2018-01-05 17:04:10 -0800 | [diff] [blame] | 100 | </service> |
| 101 | |
Zimuzo | 2bb41f7 | 2019-03-26 13:04:13 +0000 | [diff] [blame] | 102 | <service android:name=".watchdog.ExplicitHealthCheckServiceImpl" |
Ashwini Oruganti | 5763e12 | 2020-05-19 18:23:58 -0700 | [diff] [blame] | 103 | android:exported="true" |
Chang Li | 4549e2d | 2022-02-17 00:47:17 +0000 | [diff] [blame] | 104 | android:directBootAware="true" |
Zimuzo | 2bb41f7 | 2019-03-26 13:04:13 +0000 | [diff] [blame] | 105 | android:permission="android.permission.BIND_EXPLICIT_HEALTH_CHECK_SERVICE"> |
| 106 | <intent-filter> |
| 107 | <action android:name="android.service.watchdog.ExplicitHealthCheckService" /> |
| 108 | </intent-filter> |
| 109 | </service> |
| 110 | |
Tony Mak | 75c3270 | 2019-11-12 17:28:26 +0000 | [diff] [blame] | 111 | <activity android:name="com.android.textclassifier.notification.CopyCodeActivity" |
Tony Mak | ab746c7 | 2019-03-04 15:08:45 +0000 | [diff] [blame] | 112 | android:exported="false" |
Chang Li | 4549e2d | 2022-02-17 00:47:17 +0000 | [diff] [blame] | 113 | android:directBootAware="true" |
Tony Mak | ab746c7 | 2019-03-04 15:08:45 +0000 | [diff] [blame] | 114 | android:theme="@android:style/Theme.NoDisplay"/> |
| 115 | |
Chang Li | 7d2e351 | 2021-02-19 19:56:45 +0000 | [diff] [blame] | 116 | <!-- DirectBootAware is disabled below as it shouldn't be used if the device is locked --> |
Tony Mak | 45604e5 | 2019-09-03 17:17:44 +0100 | [diff] [blame] | 117 | <service |
| 118 | android:name="com.android.textclassifier.DefaultTextClassifierService" |
Chang Li | 7d2e351 | 2021-02-19 19:56:45 +0000 | [diff] [blame] | 119 | android:directBootAware="false" |
Tony Mak | 45604e5 | 2019-09-03 17:17:44 +0100 | [diff] [blame] | 120 | android:exported="true" |
| 121 | android:permission="android.permission.BIND_TEXTCLASSIFIER_SERVICE"> |
| 122 | <intent-filter> |
| 123 | <action android:name="android.service.textclassifier.TextClassifierService"/> |
| 124 | </intent-filter> |
| 125 | </service> |
| 126 | |
Chang Li | edb39a5 | 2021-06-03 23:19:03 +0000 | [diff] [blame] | 127 | <service android:name="com.android.textclassifier.downloader.ModelDownloaderService" |
Chang Li | 7d2e351 | 2021-02-19 19:56:45 +0000 | [diff] [blame] | 128 | android:exported="false" |
Chang Li | 4549e2d | 2022-02-17 00:47:17 +0000 | [diff] [blame] | 129 | android:directBootAware="false" |
Chang Li | 7d2e351 | 2021-02-19 19:56:45 +0000 | [diff] [blame] | 130 | android:process=":modelDownloaderServiceProcess"> |
| 131 | </service> |
| 132 | |
Adam He | e0d8a8b | 2020-01-23 13:42:05 -0800 | [diff] [blame] | 133 | <service android:name=".autofill.InlineSuggestionRenderServiceImpl" |
Ashwini Oruganti | 5763e12 | 2020-05-19 18:23:58 -0700 | [diff] [blame] | 134 | android:exported="true" |
Chang Li | 4549e2d | 2022-02-17 00:47:17 +0000 | [diff] [blame] | 135 | android:directBootAware="true" |
Adam He | e0d8a8b | 2020-01-23 13:42:05 -0800 | [diff] [blame] | 136 | android:permission="android.permission.BIND_INLINE_SUGGESTION_RENDER_SERVICE"> |
| 137 | <intent-filter> |
| 138 | <action android:name="android.service.autofill.InlineSuggestionRenderService" /> |
| 139 | </intent-filter> |
| 140 | </service> |
| 141 | |
chaviw | 525881a | 2021-04-07 09:29:50 -0500 | [diff] [blame] | 142 | <service android:name=".displayhash.DisplayHashingServiceImpl" |
chaviw | 10ec86b | 2020-10-28 10:23:17 -0700 | [diff] [blame] | 143 | android:exported="true" |
Chang Li | 4549e2d | 2022-02-17 00:47:17 +0000 | [diff] [blame] | 144 | android:directBootAware="true" |
chaviw | 525881a | 2021-04-07 09:29:50 -0500 | [diff] [blame] | 145 | android:permission="android.permission.BIND_DISPLAY_HASHING_SERVICE"> |
chaviw | 10ec86b | 2020-10-28 10:23:17 -0700 | [diff] [blame] | 146 | <intent-filter> |
chaviw | 525881a | 2021-04-07 09:29:50 -0500 | [diff] [blame] | 147 | <action android:name="android.service.displayhash.DisplayHashingService" /> |
chaviw | 10ec86b | 2020-10-28 10:23:17 -0700 | [diff] [blame] | 148 | </intent-filter> |
chaviw | 10ec86b | 2020-10-28 10:23:17 -0700 | [diff] [blame] | 149 | </service> |
| 150 | |
Alan Viverette | 291b1d2 | 2021-08-25 14:51:17 +0000 | [diff] [blame] | 151 | <!-- Remove the default WorkManager and Startup initializers and use on-demand |
| 152 | initialization instead. This gives us more control on when initialization |
| 153 | happens, e.g. when the user is unlocked. |
Chang Li | 7d2e351 | 2021-02-19 19:56:45 +0000 | [diff] [blame] | 154 | --> |
| 155 | <provider |
| 156 | android:name="androidx.work.impl.WorkManagerInitializer" |
| 157 | android:authorities="${applicationId}.workmanager-init" |
| 158 | tools:node="remove" /> |
Alan Viverette | 291b1d2 | 2021-08-25 14:51:17 +0000 | [diff] [blame] | 159 | <provider |
| 160 | android:name="androidx.startup.InitializationProvider" |
| 161 | android:authorities="${applicationId}.androidx-startup" |
| 162 | tools:node="remove" /> |
Chang Li | 7d2e351 | 2021-02-19 19:56:45 +0000 | [diff] [blame] | 163 | |
Svet Ganov | 4bad641 | 2016-01-29 19:05:31 -0800 | [diff] [blame] | 164 | </application> |
| 165 | |
| 166 | </manifest> |