Add hi6250 support

not only hi3660 and kirin970,980 need this, also kirin 659 does
This commit is contained in:
Alexander Pohl 2019-05-05 20:39:38 +02:00 committed by John Wu
parent 0167bd76f1
commit 61ebc335c4

View File

@ -268,7 +268,7 @@ void MagiskInit::load_kernel_info() {
} else if (key == "enter_recovery") { } else if (key == "enter_recovery") {
enter_recovery = value[0] == '1'; enter_recovery = value[0] == '1';
} else if (key == "androidboot.hardware") { } else if (key == "androidboot.hardware") {
kirin = strstr(value, "kirin") || strstr(value, "hi3660"); kirin = strstr(value, "kirin") || strstr(value, "hi3660") || strstr(value, "hi6250");
} }
}); });