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

@@ -64,7 +64,7 @@
<favorite
launcher:container="-101"
launcher:className="com.aoleyun.browser.activity.MainActivity"
launcher:className="com.aoleyun.browser.activity.main.MainActivity"
launcher:packageName="com.aoleyun.browser"
launcher:screen="2"
launcher:x="2"

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();
}

View File

@@ -320,7 +320,8 @@ public class LoaderTask implements Runnable {
if (BuildConfig.APPLICATION_ID.equals(app.getApplicationInfo().packageName))
continue;
/*系统应用*/
if (JGYUtils.getInstance().getDeviceIsLocked()) {
int aihuaUnlock = Settings.Global.getInt(context.getContentResolver(), "Aihua_unlock_state", 0);
if (JGYUtils.getInstance().getDeviceIsLocked() || aihuaUnlock == 1) {
if ((app.getApplicationFlags() & ApplicationInfo.FLAG_SYSTEM) == 1) {
if (!showApp.contains(app.getApplicationInfo().packageName)) {
Log.e("verifyApplications", "skip1: " + app.getApplicationInfo().packageName);