mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-12 13:17:39 +02:00
Relaunch process without second process
This commit is contained in:
@ -104,17 +104,6 @@ fun genStubManifest(srcDir: File, outDir: File): String {
|
||||
true
|
||||
))
|
||||
|
||||
cmpList.add(Component(
|
||||
"PHOENIX",
|
||||
"PhoenixActivity",
|
||||
"""
|
||||
|<activity
|
||||
| android:name="%s"
|
||||
| android:process=":%s"
|
||||
| android:exported="false" />""".ind(2),
|
||||
true
|
||||
))
|
||||
|
||||
cmpList.add(Component(
|
||||
"com.topjohnwu.magisk.core.Provider",
|
||||
"dummy.DummyProvider",
|
||||
@ -260,7 +249,7 @@ fun genStubManifest(srcDir: File, outDir: File): String {
|
||||
}
|
||||
}
|
||||
if (gen.xml.isNotEmpty()) {
|
||||
cmps.add(gen.xml.format(name, names.random(kRANDOM)))
|
||||
cmps.add(gen.xml.format(name))
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user