bugfixes:增加希沃签名
This commit is contained in:
2025-04-01 18:18:32 +08:00
parent 8716bf0e36
commit 7599d14897
7 changed files with 53 additions and 21 deletions

View File

@@ -155,6 +155,7 @@ public class JgyUtils {
public static final int HL500Platform = 20;
public static final int G11JPlatform = 21;
public static final int P50Platform = 23;
public static final int seewoPlatform = 25;
public static final String Other = "其他";
@@ -176,6 +177,7 @@ public class JgyUtils {
public static final String HL500Tag = "HL500";
public static final String G11JTag = "aud8786";
public static final String P50Tag = "P50TD";
public static final String seewoTag = "seewo";
private CacheHelper cacheHelper;
@@ -315,6 +317,9 @@ public class JgyUtils {
} else if (P50Tag.equalsIgnoreCase(platform)) {
Log.i(TAG, "checkAppPlatform: " + "P50TD");
return P50Platform;
} else if (seewoTag.equalsIgnoreCase(platform)) {
Log.i(TAG, "checkAppPlatform: " + "seewo");
return seewoPlatform;
} else {
Log.i(TAG, "checkAppPlatform: " + "没有数据");
return UnknowPlatform;
@@ -373,7 +378,9 @@ public class JgyUtils {
getAppPlatformCallback.AppPlatform(G11JPlatform);
} else if (P50Tag.equalsIgnoreCase(platform)) {
getAppPlatformCallback.AppPlatform(P50Platform);
}else {
} else if (seewoTag.equalsIgnoreCase(platform)) {
getAppPlatformCallback.AppPlatform(seewoPlatform);
} else {
getAppPlatformCallback.AppPlatform(UnknowPlatform);
}
}
@@ -630,6 +637,11 @@ public class JgyUtils {
}
public void onBootOpenApp() {
if ("G1096JW".equals(Build.MODEL)) {
if (ApkUtils.isAvailable(mContext, "com.aisudu.xhb")) {
ApkUtils.openPackage(mContext, "com.aisudu.xhb");
}
}
String qch_app_power_on = Settings.System.getString(crv, CommonConfig.AOLE_ACTION_APP_POWER_ON);
if (TextUtils.isEmpty(qch_app_power_on)) {
return;
@@ -1347,7 +1359,6 @@ public class JgyUtils {
}
public void SettingSysData(String data) {
SPUtils.put(mContext, "SystemSettingData", data);
if (TextUtils.isEmpty(data)) {
Log.e(TAG, "SettingSysData: " + "data is empty");
SysSettingUtils.setDisableSetting(mContext);