feat(build): 新增 MX11 和 G12NL 平台支持

- 添加平台识别常量及构建变体
- 适配强制安装、USB 设置和系统属性逻辑
- 更新版本号并统一 debug 版本后缀格式
This commit is contained in:
2026-09-07 16:42:34 +08:00
parent 3babc04942
commit a83464dd7e
8 changed files with 101 additions and 36 deletions

View File

@@ -150,6 +150,7 @@ public class SysSettingUtils {
if (JgyUtils.getInstance().checkAppPlatform() == JgyUtils.TeclastP20sPlatform
|| JgyUtils.getInstance().checkAppPlatform() == JgyUtils.AH6016Platform
|| JgyUtils.getInstance().checkAppPlatform() == JgyUtils.DX11Platform
|| JgyUtils.getInstance().checkAppPlatform() == JgyUtils.MX11Platform
) {
usbIntent.setPackage("com.android.settings");
}
@@ -254,6 +255,7 @@ public class SysSettingUtils {
|| JgyUtils.getInstance().checkAppPlatform() == JgyUtils.AH6016Platform
|| JgyUtils.getInstance().checkAppPlatform() == JgyUtils.seewoPlatform
|| JgyUtils.getInstance().checkAppPlatform() == JgyUtils.DX11Platform
|| JgyUtils.getInstance().checkAppPlatform() == JgyUtils.MX11Platform
) {
usbIntent.setPackage("com.android.settings");
}
@@ -324,6 +326,7 @@ public class SysSettingUtils {
if (JgyUtils.getInstance().checkAppPlatform() == JgyUtils.TeclastP20sPlatform
|| JgyUtils.getInstance().checkAppPlatform() == JgyUtils.AH6016Platform
|| JgyUtils.getInstance().checkAppPlatform() == JgyUtils.DX11Platform
|| JgyUtils.getInstance().checkAppPlatform() == JgyUtils.MX11Platform
) {
usbIntent.setPackage("com.android.settings");
}
@@ -1239,6 +1242,7 @@ public class SysSettingUtils {
if (JgyUtils.getInstance().checkAppPlatform() == JgyUtils.TeclastP20sPlatform
|| JgyUtils.getInstance().checkAppPlatform() == JgyUtils.AH6016Platform
|| JgyUtils.getInstance().checkAppPlatform() == JgyUtils.DX11Platform
|| JgyUtils.getInstance().checkAppPlatform() == JgyUtils.MX11Platform
) {
usbIntent.setPackage("com.android.settings");
}