From f902e3b3d870023c3c9fb6428bf154adce902748 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Sun, 17 Mar 2024 19:11:55 +0800 Subject: [PATCH] CPU (Android): don't detect manufactor of Qualcomm as ARM --- src/detection/cpu/cpu_linux.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/detection/cpu/cpu_linux.c b/src/detection/cpu/cpu_linux.c index 673f0cbdb..acce51ca8 100644 --- a/src/detection/cpu/cpu_linux.c +++ b/src/detection/cpu/cpu_linux.c @@ -17,7 +17,10 @@ static void detectAndroid(FFCPUResult* cpu) { if (cpu->name.length == 0) + { ffSettingsGetAndroidProperty("ro.soc.model", &cpu->name); + ffStrbufClear(&cpu->vendor); // We usually detect the vendor of CPU core as ARM, but instead we want the vendor of SOC + } if (cpu->vendor.length == 0) { if (!ffSettingsGetAndroidProperty("ro.soc.manufacturer", &cpu->vendor))