feat: 增加高通平台

This commit is contained in:
2026-04-10 10:12:42 +08:00
parent b9c5337032
commit 5eb341ca72
5 changed files with 43 additions and 16 deletions

View File

@@ -173,6 +173,7 @@ public class JgyUtils {
public static final int U1302Platform = 26;
public static final int MT6765Platform = 28;
public static final int G128TPlatform = 29;
public static final int QualcommTPlatform = 30;
public static final String Other = "其他";
@@ -198,6 +199,7 @@ public class JgyUtils {
public static final String allwinner_U1302 = "QZA15";
public static final String MT6765_TAG = "MT6765";
public static final String G128T_TAG = "G128T";
public static final String Qualcomm_TAG = "QualcommA";
private CacheHelper cacheHelper;
@@ -350,6 +352,9 @@ public class JgyUtils {
} else if (G128T_TAG.equalsIgnoreCase(platform)) {
Log.i(TAG, "checkAppPlatform: " + "G128T");
return G128TPlatform;
} else if (Qualcomm_TAG.equalsIgnoreCase(platform)) {
Log.i(TAG, "checkAppPlatform: " + "QualcommA");
return QualcommTPlatform;
} else {
Log.i(TAG, "checkAppPlatform: " + "没有数据");
return UnknowPlatform;
@@ -416,6 +421,8 @@ public class JgyUtils {
getAppPlatformCallback.AppPlatform(MT6765Platform);
} else if (G128T_TAG.equalsIgnoreCase(platform)) {
getAppPlatformCallback.AppPlatform(G128TPlatform);
} else if (Qualcomm_TAG.equalsIgnoreCase(platform)) {
getAppPlatformCallback.AppPlatform(QualcommTPlatform);
} else {
getAppPlatformCallback.AppPlatform(UnknowPlatform);
}