version:5.4

fix:
update:修复不能直接退出桌面,激活设置默认桌面
This commit is contained in:
2022-10-26 10:21:45 +08:00
parent 18cca13839
commit 1a632e1e6e
5 changed files with 26 additions and 11 deletions

View File

@@ -212,11 +212,11 @@ public class ApkUtils {
for (ApplicationInfo applicationInfo : infoHashMap.values()) {
desktopIcons.add(DesktopIcon.creatDesktopIcon(context, applicationInfo));
}
// DesktopIcon exitIcon = new DesktopIcon();
// exitIcon.setIcon(context.getDrawable(R.drawable.exit_icon));
// exitIcon.setLable("切换系统");
// exitIcon.setPackageName("aios.exit");
// desktopIcons.add(exitIcon);
DesktopIcon exitIcon = new DesktopIcon();
exitIcon.setIcon(context.getDrawable(R.drawable.exit_icon));
exitIcon.setLable("切换系统");
exitIcon.setPackageName("aios.exit");
desktopIcons.add(exitIcon);
return desktopIcons;
}