version:4.5

fix:
update:增加爱华解锁
This commit is contained in:
2022-06-21 09:18:02 +08:00
parent 6bd36a3afb
commit b53c38b15f
3 changed files with 5 additions and 3 deletions

View File

@@ -1273,7 +1273,8 @@ public class Launcher extends BaseDraggingActivity implements LauncherExterns,
private void checkIsRest() {
int desktop_clear = Settings.Global.getInt(getContentResolver(), "desktop_clear", 0);
if (!JGYUtils.getInstance().getDeviceIsLocked() && desktop_clear != 1) {
int aihuaUnlock = Settings.Global.getInt(getContentResolver(), "Aihua_unlock_state", 0);
if ((!JGYUtils.getInstance().getDeviceIsLocked()|| aihuaUnlock == 1) && desktop_clear != 1) {
Settings.Global.putInt(getContentResolver(), "desktop_clear", 1);
JGYUtils.getInstance().cleanAoleLauncher3Cache();
}