1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2016 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License. 16--> 17<manifest xmlns:android="http://schemas.android.com/apk/res/android" 18 xmlns:tools="http://schemas.android.com/tools" 19 package="androidx.work" > 20 21 <uses-sdk android:minSdkVersion="21" /> 22 23 <uses-permission android:name="android.permission.WAKE_LOCK" /> 24 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 25 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> 26 <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> 27 28 <application> 29 <provider 30 android:name="androidx.startup.InitializationProvider" 31 android:authorities="${applicationId}.androidx-startup" 32 android:exported="false" 33 tools:node="merge" > 34 <meta-data 35 android:name="androidx.work.WorkManagerInitializer" 36 android:value="androidx.startup" /> 37 </provider> 38 39 <service 40 android:name="androidx.work.impl.background.systemalarm.SystemAlarmService" 41 android:directBootAware="false" 42 android:enabled="@bool/enable_system_alarm_service_default" 43 android:exported="false" 44 tools:ignore="MissingServiceExportedEqualsTrue" 45 tools:targetApi="n" /> 46 <service 47 android:name="androidx.work.impl.background.systemjob.SystemJobService" 48 android:directBootAware="false" 49 android:enabled="@bool/enable_system_job_service_default" 50 android:exported="true" 51 android:permission="android.permission.BIND_JOB_SERVICE" 52 tools:targetApi="n" /> 53 <service 54 android:name="androidx.work.impl.foreground.SystemForegroundService" 55 android:directBootAware="false" 56 android:enabled="@bool/enable_system_foreground_service_default" 57 android:exported="false" 58 tools:ignore="MissingServiceExportedEqualsTrue" 59 tools:targetApi="n" /> 60 61 <receiver 62 android:name="androidx.work.impl.utils.ForceStopRunnable$BroadcastReceiver" 63 android:directBootAware="false" 64 android:enabled="true" 65 android:exported="false" 66 tools:targetApi="n" /> 67 <receiver 68 android:name="androidx.work.impl.background.systemalarm.ConstraintProxy$BatteryChargingProxy" 69 android:directBootAware="false" 70 android:enabled="false" 71 android:exported="false" 72 tools:targetApi="n" > 73 <intent-filter> 74 <action android:name="android.intent.action.ACTION_POWER_CONNECTED" /> 75 <action android:name="android.intent.action.ACTION_POWER_DISCONNECTED" /> 76 </intent-filter> 77 </receiver> 78 <receiver 79 android:name="androidx.work.impl.background.systemalarm.ConstraintProxy$BatteryNotLowProxy" 80 android:directBootAware="false" 81 android:enabled="false" 82 android:exported="false" 83 tools:targetApi="n" > 84 <intent-filter> 85 <action android:name="android.intent.action.BATTERY_OKAY" /> 86 <action android:name="android.intent.action.BATTERY_LOW" /> 87 </intent-filter> 88 </receiver> 89 <receiver 90 android:name="androidx.work.impl.background.systemalarm.ConstraintProxy$StorageNotLowProxy" 91 android:directBootAware="false" 92 android:enabled="false" 93 android:exported="false" 94 tools:targetApi="n" > 95 <intent-filter> 96 <action android:name="android.intent.action.DEVICE_STORAGE_LOW" /> 97 <action android:name="android.intent.action.DEVICE_STORAGE_OK" /> 98 </intent-filter> 99 </receiver> 100 <receiver 101 android:name="androidx.work.impl.background.systemalarm.ConstraintProxy$NetworkStateProxy" 102 android:directBootAware="false" 103 android:enabled="false" 104 android:exported="false" 105 tools:targetApi="n" > 106 <intent-filter> 107 <action android:name="android.net.conn.CONNECTIVITY_CHANGE" /> 108 </intent-filter> 109 </receiver> 110 <receiver 111 android:name="androidx.work.impl.background.systemalarm.RescheduleReceiver" 112 android:directBootAware="false" 113 android:enabled="false" 114 android:exported="false" 115 tools:targetApi="n" > 116 <intent-filter> 117 <action android:name="android.intent.action.BOOT_COMPLETED" /> 118 <action android:name="android.intent.action.TIME_SET" /> 119 <action android:name="android.intent.action.TIMEZONE_CHANGED" /> 120 </intent-filter> 121 </receiver> 122 <receiver 123 android:name="androidx.work.impl.background.systemalarm.ConstraintProxyUpdateReceiver" 124 android:directBootAware="false" 125 android:enabled="@bool/enable_system_alarm_service_default" 126 android:exported="false" 127 tools:targetApi="n" > 128 <intent-filter> 129 <action android:name="androidx.work.impl.background.systemalarm.UpdateProxies" /> 130 </intent-filter> 131 </receiver> 132 <receiver 133 android:name="androidx.work.impl.diagnostics.DiagnosticsReceiver" 134 android:directBootAware="false" 135 android:enabled="true" 136 android:exported="true" 137 android:permission="android.permission.DUMP" 138 tools:targetApi="n" > 139 <intent-filter> 140 <action android:name="androidx.work.diagnostics.REQUEST_DIAGNOSTICS" /> 141 </intent-filter> 142 </receiver> 143 </application> 144 145</manifest>