version:3.9

fix:修复系统设置管控失败
update:
This commit is contained in:
2022-04-12 10:00:31 +08:00
parent 0cb21ceadc
commit 297f33bf2d
10 changed files with 89 additions and 88 deletions

View File

@@ -1584,17 +1584,17 @@ public class JGYUtils {
}
public interface GetAppPlatformCallback {
void getAppPlatform(int platform);
void AppPlatform(int platform);
}
public void getAppPlatform(GetAppPlatformCallback getAppPlatformCallback) {
String platform = BuildConfig.platform;
if ("MTK".equalsIgnoreCase(platform)) {
getAppPlatformCallback.getAppPlatform(MTKPlatform);
getAppPlatformCallback.AppPlatform(MTKPlatform);
} else if ("ZhanRui".equalsIgnoreCase(platform)) {
getAppPlatformCallback.getAppPlatform(ZhanruiPlatform);
getAppPlatformCallback.AppPlatform(ZhanruiPlatform);
} else {
getAppPlatformCallback.getAppPlatform(UnknowPlatform);
getAppPlatformCallback.AppPlatform(UnknowPlatform);
}
}