version:3.4.0

fix:
update:增加G12NL签名
This commit is contained in:
2025-08-06 11:36:55 +08:00
parent 350349a94d
commit 6f605bb263
5 changed files with 46 additions and 3 deletions

View File

@@ -53,8 +53,10 @@ public class CommonConfig {
public static final String AOLE_APP_WEB_WHITE_LIST = "app_web_white_list";
/*内部黑名单*/
public static final String AOLE_APP_WEB_BLACK_LIST = "app_web_black_list";
/*应用安装白名单*/
/*应用白名单安装总开关*/
public static final String AOLE_ACTION_APP_FORBID = "aole_app_forbid";
/*应用安装白名单*/
public static final String AOLE_APP_ALLOW_INSTALL = "aole_app_allow_install";
/*指定应用安装源 非指定包名不能安装apk*/
public static final String APP_SOURCE_WHITE_LIST = "app_source_white_list";
/*强制安装应用,禁止卸载*/

View File

@@ -719,6 +719,8 @@ public class NetInterfaceManager {
set.add(JGYUtils.G6Tag);
} else if (platform == JGYUtils.G11JPlatform) {
set.add(JGYUtils.G11JTag);
} else if (platform == JGYUtils.G12NLPlatform) {
set.add(JGYUtils.G12NLTag);
}
});
clearAndAppendTags(set);
@@ -746,6 +748,8 @@ public class NetInterfaceManager {
set.add(JGYUtils.G6Tag);
} else if (platform == JGYUtils.G11JPlatform) {
set.add(JGYUtils.G11JTag);
} else if (platform == JGYUtils.G12NLPlatform) {
set.add(JGYUtils.G12NLTag);
}
});
XGPushManager.clearAndAppendTags(mContext, "clearAndAppendTags :" + System.currentTimeMillis(), set, new XGIOperateCallback() {

View File

@@ -101,6 +101,7 @@ public class JGYUtils {
public static final int iPlay50SEPlatform = 8;
public static final int G6Platform = 10;
public static final int G11JPlatform = 11;
public static final int G12NLPlatform = 12;
public static final String MTKTag = "MTK";
@@ -112,6 +113,7 @@ public class JGYUtils {
public static final String iPlay50SETag = "ipaly50SE";
public static final String G6Tag = "G6";
public static final String G11JTag = "G10J";
public static final String G12NLTag = " G12NL";
private HashSet<String> ownApp = new HashSet<String>() {{
@@ -542,6 +544,9 @@ public class JGYUtils {
} else if (G11JTag.equalsIgnoreCase(platform)) {
Log.i(TAG, "checkAppPlatform: " + "G10J");
return G11JPlatform;
} else if (G12NLTag.equalsIgnoreCase(platform)) {
Log.i(TAG, "checkAppPlatform: " + "G12NL");
return G12NLPlatform;
} else {
Log.i(TAG, "checkAppPlatform: " + "没有数据");
return UnknowPlatform;
@@ -581,6 +586,8 @@ public class JGYUtils {
getAppPlatformCallback.AppPlatform(G6Platform);
} else if (G11JTag.equalsIgnoreCase(platform)) {
getAppPlatformCallback.AppPlatform(G11JPlatform);
} else if (G12NLTag.equalsIgnoreCase(platform)) {
getAppPlatformCallback.AppPlatform(G12NLPlatform);
} else {
getAppPlatformCallback.AppPlatform(UnknowPlatform);
}
@@ -595,6 +602,7 @@ public class JGYUtils {
|| JGYUtils.getInstance().checkAppPlatform() == JGYUtils.iPlay50SEPlatform
|| JGYUtils.getInstance().checkAppPlatform() == JGYUtils.G6Platform
|| JGYUtils.getInstance().checkAppPlatform() == JGYUtils.G11JPlatform
|| JGYUtils.getInstance().checkAppPlatform() == JGYUtils.G12NLPlatform
) {
return getProperty("ro.build.display.id", "获取失败");
} else {