version:1.2.3

fix:修复绑定状态刷新不及时
update:主页图标修改
This commit is contained in:
2023-04-10 14:45:24 +08:00
parent 8b98116d87
commit eef000be87
21 changed files with 243 additions and 56 deletions

View File

@@ -71,10 +71,20 @@ public class ApkUtils {
this.add("com.uiui.sn");
this.add("com.uiui.appstore");
this.add("com.uiui.browser");
this.add("com.uiui.videoplayer");
this.add("com.teclast.zyos");
this.add("com.teclast.zy");
this.add("com.teclast.zyappstore");
this.add("com.teclast.zybrowser");
this.add("com.lft.turn");
this.add("com.huawei.wallet");
this.add("com.huawei.music");
this.add("com.huawei.educenter");
this.add("com.huawei.fastapp");
this.add("com.huawei.himovie");
this.add("com.mainbo.homeschool");
this.add("com.huawei.gamebox");
}};
private static HashSet<String> excludeClassName = new HashSet<String>() {{
@@ -214,9 +224,9 @@ public class ApkUtils {
// resolveInfos.add(resolveInfo);
// }
// } else {
if (allowPackages.contains(pkg) && !excludePackageName.contains(pkg)) {
resolveInfos.add(resolveInfo);
}
if (allowPackages.contains(pkg) && !excludePackageName.contains(pkg)) {
resolveInfos.add(resolveInfo);
}
// }
}
}
@@ -252,6 +262,13 @@ public class ApkUtils {
desktopIcons.add(DesktopIcon.creatDesktopIcon(context, applicationInfo));
}
}
// DesktopIcon infoIcon = new DesktopIcon();
// infoIcon.setIcon(context.getDrawable(R.drawable.com_uiui_sn));
// infoIcon.setLable("我的设备");
// infoIcon.setPackageName("com.uiui.zy");
// infoIcon.setClassName("com.uiui.zy.activity.main.MainActivity");
// infoIcon.setPosition(0);
// desktopIcons.add(0, infoIcon);
return desktopIcons;
}