packages/apps/Launcher3/src/com/android/launcher3/model/LoaderTask.java
private List<LauncherActivityInfo> loadAllApps() {
................
// Create the ApplicationInfos
for (int i = 0; i < apps.size(); i++) {
LauncherActivityInfo app = apps.get(i);
AppInfo appInfo = new AppInfo(app, user, quietMode);
iconRequestInfos.add(new IconRequestInfo<>(
appInfo, app, /* useLowResIcon= */ false));
+ if (!appInfo.componentName.getPackageName().
+ equals("com.example.oemscandemo")){
- mBgAllAppsList.add(
- appInfo, app, false);
+ else{}
}
allActivityList.addAll(apps);
}
Launch过滤app图标
最新推荐文章于 2024-09-06 08:00:00 发布