version:1.1
fix: update:优化
This commit is contained in:
@@ -55,7 +55,7 @@ public class OpenApkUtils {
|
||||
private boolean checkActivation() {
|
||||
int is_activation = Settings.Global.getInt(mContext.getContentResolver(), CommonConfig.UIUI_ACTIVATION_KEY, 0);
|
||||
if (is_activation != 1) {
|
||||
ApkUtils.openPackage(mContext, "com.uiui.zysn");
|
||||
ApkUtils.openPackage(mContext, "com.uiui.zy");
|
||||
ToastUtil.show("请激活设备后使用");
|
||||
}
|
||||
return is_activation == 1;
|
||||
@@ -103,7 +103,7 @@ public class OpenApkUtils {
|
||||
* @return true为能打开
|
||||
*/
|
||||
public boolean isCloudLessonMod(String pkg) {
|
||||
if (mLessonJson==null)
|
||||
if (mLessonJson == null)
|
||||
return true;
|
||||
if (mLessonJson.getIs_lesson() == 1) {
|
||||
if (mContralTime == null) {
|
||||
|
||||
Reference in New Issue
Block a user