We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdce8ea commit f91be64Copy full SHA for f91be64
src/detection/cpu/cpu_linux.c
@@ -56,8 +56,10 @@ static void detectAndroid(FFCPUResult* cpu)
56
{
57
if (cpu->name.length == 0)
58
59
- ffSettingsGetAndroidProperty("ro.soc.model", &cpu->name);
60
- ffStrbufClear(&cpu->vendor); // We usually detect the vendor of CPU core as ARM, but instead we want the vendor of SOC
+ if (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
61
+ else if(ffSettingsGetAndroidProperty("ro.mediatek.platform", &cpu->name))
62
+ ffStrbufSetStatic(&cpu->vendor, "MTK");
63
}
64
if (cpu->vendor.length == 0)
65
0 commit comments