CPU (Android): don't detect manufactor of Qualcomm as ARM

This commit is contained in:
李通洲
2024-03-17 19:11:55 +08:00
parent 553124ab5b
commit f902e3b3d8
+3
View File
@@ -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))