version:1.5.0705

bugfixes:优化报错和网络优化
This commit is contained in:
2025-07-07 10:19:30 +08:00
parent d041a3b1c8
commit a2ad1c705f
20 changed files with 563 additions and 324 deletions

View File

@@ -1154,14 +1154,17 @@ public class PushManager {
JgyUtils.getInstance().openLauncher3();
} else {
String default_launcher = launcherElement.getAsString();
mMMKV.encode(CommonConfig.DEFAULT_LAUNCHER_PACKAGE_NAME, default_launcher);
JgyUtils.getInstance().setDefaultDesktop(default_launcher);
ComponentName cn = new ComponentName(default_launcher, JgyUtils.getInstance().getStartClassName(default_launcher));
Intent intent = new Intent();
intent.setComponent(cn);
intent.addCategory(Intent.CATEGORY_LAUNCHER);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
mContext.startActivity(intent);
mMMKV.encode(CommonConfig.DEFAULT_LAUNCHER_PACKAGE_NAME, default_launcher);
}
}
}