version:1.5.0821

bugfixes:
add:优化sn显示,增加mt6765平台
This commit is contained in:
2025-09-03 11:26:51 +08:00
parent 64620b4778
commit 06513441bd
12 changed files with 140 additions and 64 deletions

View File

@@ -797,17 +797,17 @@ public class Utils {
* @return
*/
public static String getSerial(Context context) {
if ("HL500".equals(Build.MODEL)) {
if (JgyUtils.getInstance().checkAppPlatform() == JgyUtils.HL500Platform) {
return getIMEI(context);
}
if (TECLAST_BRAND.equalsIgnoreCase(Build.BRAND)) {
return getPushMac(context);
} else {
if (NOSN.equalsIgnoreCase(getSn())) {
return getIMEI(context);
} else {
// if (NOSN.equalsIgnoreCase(getSn())) {
// return getIMEI(context);
// } else {
return getSn();
}
// }
}
}
@@ -1830,6 +1830,7 @@ public class Utils {
|| JgyUtils.getInstance().checkAppPlatform() == JgyUtils.P50Platform
|| JgyUtils.getInstance().checkAppPlatform() == JgyUtils.seewoPlatform
|| JgyUtils.getInstance().checkAppPlatform() == JgyUtils.U1302Platform
|| JgyUtils.getInstance().checkAppPlatform() == JgyUtils.MT6765Platform
) {
return Utils.getProperty("ro.build.display.id", "获取失败");
} else {