mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 12:05:30 +00:00
Specify foregroundServiceType for DownloadService
This commit is contained in:
parent
732a8260c2
commit
b696dae808
@ -62,7 +62,8 @@
|
|||||||
|
|
||||||
<service
|
<service
|
||||||
android:name=".core.download.DownloadService"
|
android:name=".core.download.DownloadService"
|
||||||
android:exported="false" />
|
android:exported="false"
|
||||||
|
android:foregroundServiceType="dataSync" />
|
||||||
|
|
||||||
<service
|
<service
|
||||||
android:name=".core.JobService"
|
android:name=".core.JobService"
|
||||||
|
@ -157,7 +157,8 @@ abstract class ManifestUpdater: DefaultTask() {
|
|||||||
cmpList.add("""
|
cmpList.add("""
|
||||||
|<service
|
|<service
|
||||||
| android:name="x.COMPONENT_PLACEHOLDER_4"
|
| android:name="x.COMPONENT_PLACEHOLDER_4"
|
||||||
| android:exported="false" />""".ind(2)
|
| android:exported="false"
|
||||||
|
| android:foregroundServiceType="dataSync" />""".ind(2)
|
||||||
)
|
)
|
||||||
|
|
||||||
cmpList.add("""
|
cmpList.add("""
|
||||||
|
Loading…
Reference in New Issue
Block a user