1<!--
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:tools="http://schemas.android.com/tools">
19
20    <uses-permission android:name="android.permission.WAKE_LOCK" />
21    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
22    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
23    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
24
25    <application>
26        <provider
27            android:name="androidx.startup.InitializationProvider"
28            android:authorities="${applicationId}.androidx-startup"
29            android:exported="false"
30            tools:node="merge">
31            <meta-data  android:name="androidx.work.WorkManagerInitializer"
32                android:value="androidx.startup" />
33        </provider>
34        <service
35            android:name="androidx.work.impl.background.systemalarm.SystemAlarmService"
36            android:exported="false"
37            android:enabled="@bool/enable_system_alarm_service_default"
38            android:directBootAware="false"
39            tools:targetApi="n"
40            tools:ignore="MissingServiceExportedEqualsTrue" />
41        <service
42            android:name="androidx.work.impl.background.systemjob.SystemJobService"
43            android:permission="android.permission.BIND_JOB_SERVICE"
44            android:exported="true"
45            android:enabled="@bool/enable_system_job_service_default"
46            android:directBootAware="false"
47            tools:targetApi="n"/>
48        <service
49            android:name="androidx.work.impl.foreground.SystemForegroundService"
50            android:exported="false"
51            android:directBootAware="false"
52            android:enabled="@bool/enable_system_foreground_service_default"
53            tools:targetApi="n"
54            tools:ignore="MissingServiceExportedEqualsTrue" />
55        <receiver
56            android:name="androidx.work.impl.utils.ForceStopRunnable$BroadcastReceiver"
57            android:enabled="true"
58            android:exported="false"
59            android:directBootAware="false"
60            tools:targetApi="n"/>
61        <receiver
62            android:name="androidx.work.impl.background.systemalarm.ConstraintProxy$BatteryChargingProxy"
63            android:enabled="false"
64            android:exported="false"
65            android:directBootAware="false"
66            tools:targetApi="n">
67            <intent-filter>
68                <action android:name="android.intent.action.ACTION_POWER_CONNECTED"/>
69                <action android:name="android.intent.action.ACTION_POWER_DISCONNECTED"/>
70            </intent-filter>
71        </receiver>
72        <receiver
73            android:name="androidx.work.impl.background.systemalarm.ConstraintProxy$BatteryNotLowProxy"
74            android:enabled="false"
75            android:exported="false"
76            android:directBootAware="false"
77            tools:targetApi="n">
78            <intent-filter>
79                <action android:name="android.intent.action.BATTERY_OKAY"/>
80                <action android:name="android.intent.action.BATTERY_LOW"/>
81            </intent-filter>
82        </receiver>
83        <receiver
84            android:name="androidx.work.impl.background.systemalarm.ConstraintProxy$StorageNotLowProxy"
85            android:enabled="false"
86            android:exported="false"
87            android:directBootAware="false"
88            tools:targetApi="n">
89            <intent-filter>
90                <action android:name="android.intent.action.DEVICE_STORAGE_LOW"/>
91                <action android:name="android.intent.action.DEVICE_STORAGE_OK"/>
92            </intent-filter>
93        </receiver>
94        <receiver
95            android:name="androidx.work.impl.background.systemalarm.ConstraintProxy$NetworkStateProxy"
96            android:enabled="false"
97            android:exported="false"
98            android:directBootAware="false"
99            tools:targetApi="n">
100            <intent-filter>
101                <action android:name="android.net.conn.CONNECTIVITY_CHANGE"/>
102            </intent-filter>
103        </receiver>
104        <receiver
105            android:name="androidx.work.impl.background.systemalarm.RescheduleReceiver"
106            android:enabled="false"
107            android:exported="false"
108            android:directBootAware="false"
109            tools:targetApi="n">
110            <intent-filter>
111                <action android:name="android.intent.action.BOOT_COMPLETED" />
112                <action android:name="android.intent.action.TIME_SET" />
113                <action android:name="android.intent.action.TIMEZONE_CHANGED" />
114            </intent-filter>
115        </receiver>
116        <receiver
117            android:name=".impl.background.systemalarm.ConstraintProxyUpdateReceiver"
118            android:enabled="@bool/enable_system_alarm_service_default"
119            android:exported="false"
120            android:directBootAware="false"
121            tools:targetApi="n">
122            <intent-filter>
123                <action android:name="androidx.work.impl.background.systemalarm.UpdateProxies" />
124            </intent-filter>
125        </receiver>
126        <receiver
127            android:name=".impl.diagnostics.DiagnosticsReceiver"
128            android:directBootAware="false"
129            android:enabled="true"
130            android:exported="true"
131            tools:targetApi="n"
132            android:permission="android.permission.DUMP">
133            <intent-filter>
134                <action android:name="androidx.work.diagnostics.REQUEST_DIAGNOSTICS" />
135            </intent-filter>
136        </receiver>
137    </application>
138</manifest>
139