version:1.6.4

fix:修复U807设置默认桌面问题
update:没有安装设备信息可以直接打开应用
This commit is contained in:
2023-10-26 10:04:01 +08:00
parent 7ed3114868
commit a8f1198eef
7 changed files with 74 additions and 44 deletions

View File

@@ -55,6 +55,9 @@ public class OpenApkUtils {
}
private boolean checkActivation() {
if (!ApkUtils.isAvailable(mContext, "com.uiui.zy")) {
return true;
}
int is_activation = Settings.Global.getInt(mContext.getContentResolver(), CommonConfig.UIUI_ACTIVATION_KEY, 0);
if (is_activation != 1) {
ApkUtils.openPackage(mContext, "com.uiui.zy", "com.uiui.zy.activity.main.MainActivity");