From 1df65940b9e3a63eaaa1a87df3b24210677fe1af Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Mon, 31 Dec 2018 16:09:01 +0800 Subject: [PATCH] Support Kirin 960 devices Close #928 --- native/jni/misc/init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/jni/misc/init.cpp b/native/jni/misc/init.cpp index cc9072e0b..1c4b52bf1 100644 --- a/native/jni/misc/init.cpp +++ b/native/jni/misc/init.cpp @@ -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"); } }