Relaunch process without second process

This commit is contained in:
topjohnwu
2022-02-13 02:58:55 -08:00
parent 936ad1aa20
commit 8f0ea5925a
6 changed files with 20 additions and 60 deletions

View File

@ -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))
}
}