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