mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-30 21:45:27 +00:00
parent
d9ace35c3e
commit
1df65940b9
@ -92,7 +92,7 @@ static void parse_cmdline(struct cmdline *cmd) {
|
||||
} else if (strncmp(tok, "enter_recovery", 14) == 0) {
|
||||
sscanf(tok, "enter_recovery=%d", &enter_recovery);
|
||||
} else if (strncmp(tok, "androidboot.hardware", 20) == 0) {
|
||||
kirin = strstr(tok, "kirin") != nullptr;
|
||||
kirin = strstr(tok, "kirin") || strstr(tok, "hi3660");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user