Home | History | Annotate | Download | only in main
      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           package="androidx.work">
     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 
     24     <application>
     25         <provider
     26             android:name="androidx.work.impl.WorkManagerInitializer"
     27             android:authorities="${applicationId}.workmanager-init"
     28             android:exported="false"
     29             android:multiprocess="true" />
     30         <service
     31             android:name="androidx.work.impl.background.systemalarm.SystemAlarmService"
     32             android:exported="false"
     33             android:enabled="@bool/enable_system_alarm_service_default" />
     34         <service
     35             android:name="androidx.work.impl.background.systemjob.SystemJobService"
     36             android:permission="android.permission.BIND_JOB_SERVICE"
     37             android:exported="true"
     38             android:enabled="@bool/enable_system_job_service_default" />
     39         <receiver
     40             android:name="androidx.work.impl.utils.ForceStopRunnable$BroadcastReceiver"
     41             android:enabled="true"
     42             android:exported="false" />
     43         <receiver
     44             android:name="androidx.work.impl.background.systemalarm.ConstraintProxy$BatteryChargingProxy"
     45             android:enabled="false">
     46             <intent-filter>
     47                 <action android:name="android.intent.action.ACTION_POWER_CONNECTED"/>
     48                 <action android:name="android.intent.action.ACTION_POWER_DISCONNECTED"/>
     49             </intent-filter>
     50         </receiver>
     51         <receiver
     52             android:name="androidx.work.impl.background.systemalarm.ConstraintProxy$BatteryNotLowProxy"
     53             android:enabled="false">
     54             <intent-filter>
     55                 <action android:name="android.intent.action.BATTERY_OKAY"/>
     56                 <action android:name="android.intent.action.BATTERY_LOW"/>
     57             </intent-filter>
     58         </receiver>
     59         <receiver
     60             android:name="androidx.work.impl.background.systemalarm.ConstraintProxy$StorageNotLowProxy"
     61             android:enabled="false">
     62             <intent-filter>
     63                 <action android:name="android.intent.action.DEVICE_STORAGE_LOW"/>
     64                 <action android:name="android.intent.action.DEVICE_STORAGE_OK"/>
     65             </intent-filter>
     66         </receiver>
     67         <receiver
     68             android:name="androidx.work.impl.background.systemalarm.ConstraintProxy$NetworkStateProxy"
     69             android:enabled="false">
     70             <intent-filter>
     71                 <action android:name="android.net.conn.CONNECTIVITY_CHANGE"/>
     72             </intent-filter>
     73         </receiver>
     74         <receiver
     75             android:name="androidx.work.impl.background.systemalarm.RescheduleReceiver"
     76             android:enabled="true">
     77             <intent-filter>
     78                 <action android:name="android.intent.action.BOOT_COMPLETED" />
     79                 <action android:name="android.intent.action.TIME_SET" />
     80                 <action android:name="android.intent.action.TIMEZONE_CHANGED" />
     81             </intent-filter>
     82         </receiver>
     83         <receiver android:name=".impl.background.systemalarm.ConstraintProxyUpdateReceiver"
     84                   android:enabled="@bool/enable_system_alarm_service_default"
     85                   android:exported="false">
     86             <intent-filter>
     87                 <action android:name="androidx.work.impl.background.systemalarm.UpdateProxies" />
     88             </intent-filter>
     89         </receiver>
     90     </application>
     91 </manifest>
     92