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"
18    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
19    package="android.ext.services"
20    android:versionCode="290000000"
21    android:versionName="2019-09"
22    coreApp="true">
23
24    <uses-permission android:name="android.permission.PROVIDE_RESOLVER_RANKER_SERVICE" />
25    <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
26
27    <uses-permission android:name="android.permission.MONITOR_DEFAULT_SMS_PACKAGE" />
28    <uses-permission android:name="android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE" />
29    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
30
31    <uses-sdk
32        android:minSdkVersion="29"
33        android:targetSdkVersion="29"
34    />
35
36    <application android:label="@string/app_name"
37        android:defaultToDeviceProtectedStorage="true"
38        android:directBootAware="true">
39
40        <service android:name=".storage.CacheQuotaServiceImpl"
41             android:permission="android.permission.BIND_CACHE_QUOTA_SERVICE">
42            <intent-filter>
43                <action android:name="android.app.usage.CacheQuotaService" />
44            </intent-filter>
45        </service>
46
47        <service android:name=".resolver.LRResolverRankerService"
48                 android:permission="android.permission.BIND_RESOLVER_RANKER_SERVICE">
49            <intent-filter android:priority="-1">
50                <action android:name="android.service.resolver.ResolverRankerService" />
51            </intent-filter>
52        </service>
53
54        <service android:name=".notification.Assistant"
55                 android:label="@string/notification_assistant"
56                 android:permission="android.permission.BIND_NOTIFICATION_ASSISTANT_SERVICE"
57                 android:exported="true">
58            <intent-filter>
59                <action android:name="android.service.notification.NotificationAssistantService" />
60            </intent-filter>
61        </service>
62
63        <service android:name=".autofill.AutofillFieldClassificationServiceImpl"
64             android:permission="android.permission.BIND_AUTOFILL_FIELD_CLASSIFICATION_SERVICE">
65            <intent-filter>
66                <action android:name="android.service.autofill.AutofillFieldClassificationService" />
67            </intent-filter>
68            <meta-data
69                android:name="android.autofill.field_classification.default_algorithm"
70                android:resource="@string/autofill_field_classification_default_algorithm" />
71            <meta-data
72                android:name="android.autofill.field_classification.available_algorithms"
73                android:resource="@array/autofill_field_classification_available_algorithms" />
74        </service>
75
76        <service android:name=".sms.FinancialSmsServiceImpl"
77                 android:permission="android.permission.BIND_FINANCIAL_SMS_SERVICE">
78            <intent-filter>
79                <action android:name="android.service.sms.action.FINANCIAL_SERVICE_INTENT" />
80            </intent-filter>
81        </service>
82
83        <service android:name=".watchdog.ExplicitHealthCheckServiceImpl"
84                 android:permission="android.permission.BIND_EXPLICIT_HEALTH_CHECK_SERVICE">
85            <intent-filter>
86                <action android:name="android.service.watchdog.ExplicitHealthCheckService" />
87            </intent-filter>
88        </service>
89
90        <activity android:name=".notification.CopyCodeActivity"
91                  android:exported="false"
92                  android:theme="@android:style/Theme.NoDisplay"/>
93
94        <library android:name="android.ext.services"/>
95    </application>
96
97</manifest>
98