version:6.4.2
fix:统一版本号 update:增加G13型号
This commit is contained in:
@@ -2316,7 +2316,10 @@ public class NetInterfaceManager {
|
||||
tagSets.add(JGYUtils.AH6016Tag);
|
||||
} else if (platform == JGYUtils.ZR6016Platform) {
|
||||
tagSets.add(JGYUtils.ZR6016Tag);
|
||||
} else if (platform == JGYUtils.HRAD13Platform) {
|
||||
tagSets.add(JGYUtils.HRAD13Tag);
|
||||
}
|
||||
|
||||
});
|
||||
Log.e(TAG, "clearAndAppendTags: " + tagSets);
|
||||
String[] tag = new ArrayList<>(tagSets).toArray(new String[tagSets.size()]);
|
||||
|
||||
@@ -119,6 +119,8 @@ public class JGYUtils {
|
||||
public static final int TeclastP20sPlatform = 6;
|
||||
public static final int AH6016Platform = 9;
|
||||
public static final int ZR6016Platform = 10;
|
||||
public static final int HRAD13Platform = 11;
|
||||
|
||||
|
||||
public static final String Other = "其他";
|
||||
public static final String MTKTag = "MTK";
|
||||
@@ -128,6 +130,7 @@ public class JGYUtils {
|
||||
public static final String TeclastP20sTag = "P20S";
|
||||
public static final String AH6016Tag = "AH6016";
|
||||
public static final String ZR6016Tag = "ZR6016";
|
||||
public static final String HRAD13Tag = "HRAD13";
|
||||
|
||||
|
||||
private CacheHelper cacheHelper;
|
||||
@@ -198,6 +201,9 @@ public class JGYUtils {
|
||||
} else if (ZR6016Tag.equalsIgnoreCase(platform)) {
|
||||
Log.i(TAG, "checkAppPlatform: " + "ZR6016");
|
||||
return ZR6016Platform;
|
||||
} else if (HRAD13Tag.equalsIgnoreCase(platform)) {
|
||||
Log.i(TAG, "checkAppPlatform: " + "HRAD13");
|
||||
return HRAD13Platform;
|
||||
} else {
|
||||
Log.i(TAG, "checkAppPlatform: " + "没有数据");
|
||||
return UnknowPlatform;
|
||||
@@ -233,6 +239,8 @@ public class JGYUtils {
|
||||
getAppPlatformCallback.AppPlatform(AH6016Platform);
|
||||
} else if (ZR6016Tag.equalsIgnoreCase(platform)) {
|
||||
getAppPlatformCallback.AppPlatform(ZR6016Platform);
|
||||
} else if (HRAD13Tag.equalsIgnoreCase(platform)) {
|
||||
getAppPlatformCallback.AppPlatform(HRAD13Platform);
|
||||
} else {
|
||||
getAppPlatformCallback.AppPlatform(UnknowPlatform);
|
||||
}
|
||||
@@ -254,6 +262,8 @@ public class JGYUtils {
|
||||
return AH6016Tag;
|
||||
} else if (ZR6016Tag.equalsIgnoreCase(platform)) {
|
||||
return ZR6016Tag;
|
||||
} else if (HRAD13Tag.equalsIgnoreCase(platform)) {
|
||||
return HRAD13Tag;
|
||||
} else {
|
||||
return Other;
|
||||
}
|
||||
@@ -1656,6 +1666,7 @@ public class JGYUtils {
|
||||
|| JGYUtils.getInstance().checkAppPlatform() == JGYUtils.CubePlatform
|
||||
|| JGYUtils.getInstance().checkAppPlatform() == JGYUtils.AH6016Platform
|
||||
|| JGYUtils.getInstance().checkAppPlatform() == JGYUtils.ZR6016Platform
|
||||
|| JGYUtils.getInstance().checkAppPlatform() == JGYUtils.HRAD13Platform
|
||||
) {
|
||||
Settings.Global.putInt(crv, Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, state == 1 ? 0 : 1);
|
||||
Settings.Global.putInt(crv, Settings.Global.ADB_ENABLED, state == 1 ? 0 : 1);
|
||||
|
||||
@@ -785,7 +785,7 @@ public class Utils {
|
||||
return t1;
|
||||
}
|
||||
|
||||
public static final String NOSN = "012345679ABCDEF";
|
||||
public static final String NOSN = "0123456789ABCDEF";
|
||||
public static final String TECLAST_BRAND = "Teclast";
|
||||
|
||||
/**
|
||||
@@ -1758,6 +1758,7 @@ public class Utils {
|
||||
|| JGYUtils.getInstance().checkAppPlatform() == JGYUtils.TeclastP20sPlatform
|
||||
|| JGYUtils.getInstance().checkAppPlatform() == JGYUtils.AH6016Platform
|
||||
|| JGYUtils.getInstance().checkAppPlatform() == JGYUtils.ZR6016Platform
|
||||
|| JGYUtils.getInstance().checkAppPlatform() == JGYUtils.HRAD13Platform
|
||||
) {
|
||||
return Utils.getProperty("ro.build.display.id", "获取失败");
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user