Disable repack on android 5.0

am does not support -p
This commit is contained in:
vvb2060
2022-06-01 04:27:31 +08:00
committed by John Wu
parent 8186f253e8
commit 9679874874
2 changed files with 3 additions and 5 deletions

View File

@@ -163,7 +163,7 @@ static void exec_cmd(const char *action, vector<Extra> &data,
// Finally, fallback to start activity with component name
args[4] = "-n";
snprintf(target, sizeof(target), "%s/.ui.surequest.SuRequestActivity", info->mgr_pkg.data());
snprintf(target, sizeof(target), "%s/com.topjohnwu.magisk.ui.surequest.SuRequestActivity", info->mgr_pkg.data());
exec.fd = -2;
exec.fork = fork_dont_care;
exec_command(exec);