mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-13 05:37:47 +02:00
Remove WorkManager as a dependency
This commit is contained in:
@ -153,7 +153,10 @@ fun genStubManifest(srcDir: File, outDir: File): String {
|
||||
cmpList.add(Component(
|
||||
"com.topjohnwu.magisk.ui.MainActivity",
|
||||
"",
|
||||
"""|<activity android:name="%s" />""".ind(2)
|
||||
"""
|
||||
|<activity
|
||||
| android:name="%s"
|
||||
| android:exported="false" />""".ind(2)
|
||||
))
|
||||
|
||||
cmpList.add(Component(
|
||||
@ -176,18 +179,19 @@ fun genStubManifest(srcDir: File, outDir: File): String {
|
||||
cmpList.add(Component(
|
||||
"com.topjohnwu.magisk.core.download.DownloadService",
|
||||
"",
|
||||
"""|<service android:name="%s" />""".ind(2)
|
||||
"""
|
||||
|<service
|
||||
| android:name="%s"
|
||||
| android:exported="false" />""".trimIndent().ind(2)
|
||||
))
|
||||
|
||||
cmpList.add(Component(
|
||||
"androidx.work.impl.background.systemjob.SystemJobService",
|
||||
"com.topjohnwu.magisk.core.JobService",
|
||||
"",
|
||||
"""
|
||||
|<service
|
||||
| android:name="%s"
|
||||
| android:directBootAware="false"
|
||||
| android:enabled="true"
|
||||
| android:exported="true"
|
||||
| android:exported="false"
|
||||
| android:permission="android.permission.BIND_JOB_SERVICE" />""".ind(2)
|
||||
))
|
||||
|
||||
|
Reference in New Issue
Block a user