version:MTK 2.3

fix:优化解锁后不能打开管控app
update:解锁后显示应用市场等
This commit is contained in:
2022-08-10 18:12:34 +08:00
parent de3cff39ae
commit 99634fa71f
21 changed files with 344 additions and 99 deletions

View File

@@ -257,5 +257,11 @@ public class JGYUtils {
e.printStackTrace();
}
}
public static boolean isUnlocked(Context context) {
int locked = Settings.System.getInt(context.getContentResolver(), "qch_unlock_ipad", 0);
int aihuaUnlock = Settings.System.getInt(context.getContentResolver(), "Aihua_unlock_state", 0);
return locked == 1 || aihuaUnlock == 1;
}
}