version:1.5.0705
bugfixes:优化报错和网络优化
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user