version:4.4

fix:优化解锁后的app显示
update:
This commit is contained in:
2022-04-20 16:02:43 +08:00
parent 9f6c360a9a
commit 7903e3c21b
7 changed files with 67 additions and 20 deletions

View File

@@ -1262,6 +1262,15 @@ public class Launcher extends BaseDraggingActivity implements LauncherExterns,
HTTPInterface.sendRunningApp(Launcher.this);
JGYUtils.getInstance().wakeUpAppstore();
JGYUtils.getInstance().wakeUpDeviceInfo();
checkIsRest();
}
private void checkIsRest() {
int desktop_clear = Settings.Global.getInt(getContentResolver(), "desktop_clear", 0);
if (!JGYUtils.getInstance().getDeviceIsLocked() && desktop_clear != 1) {
Settings.Global.putInt(getContentResolver(), "desktop_clear", 1);
JGYUtils.getInstance().cleanAoleLauncher3Cache();
}
}
private void removeRecentTask() {