Migrate to SplashScreen API

This commit is contained in:
topjohnwu
2021-11-05 04:16:58 -07:00
parent 81f57949ed
commit 022c217cfe
14 changed files with 164 additions and 166 deletions

View File

@ -137,7 +137,7 @@ fun genStubManifest(srcDir: File, outDir: File): String {
))
cmpList.add(Component(
"com.topjohnwu.magisk.core.SplashActivity",
"com.topjohnwu.magisk.ui.MainActivity",
"DownloadActivity",
"""
|<activity
@ -150,15 +150,6 @@ fun genStubManifest(srcDir: File, outDir: File): String {
|</activity>""".ind(2)
))
cmpList.add(Component(
"com.topjohnwu.magisk.ui.MainActivity",
"",
"""
|<activity
| android:name="%s"
| android:exported="false" />""".ind(2)
))
cmpList.add(Component(
"com.topjohnwu.magisk.ui.surequest.SuRequestActivity",
"",