Attempt to rescan zygote multiple times

Close #1654
This commit is contained in:
topjohnwu
2019-11-01 02:12:28 -04:00
parent f4299fbea8
commit 493068c073
4 changed files with 18 additions and 5 deletions

View File

@@ -757,6 +757,8 @@ void boot_complete(int client) {
if (!pfs_done)
return;
auto_start_magiskhide();
if (access(MANAGERAPK, F_OK) == 0) {
// Install Magisk Manager if exists
rename(MANAGERAPK, "/data/magisk.apk");