fix: 修复更改批次不删除原来的app,修复升级会删除公共应用

This commit is contained in:
2026-04-27 16:12:01 +08:00
parent d955edce80
commit 055e63d1a0
8 changed files with 49 additions and 50 deletions

View File

@@ -1808,6 +1808,8 @@ public class JgyUtils {
Log.e(TAG, "deleteOtherApp: " + "start");
Set<String> allAppWhiteSet = mMMKV.decodeStringSet(CommonConfig.AOLE_ALL_APP_WHITE_LIST_KEY, new HashSet<>());
Log.e("deleteOtherApp", "allAppWhiteSet:" + allAppWhiteSet);
Set<String> pubAppSet = mMMKV.decodeStringSet(CommonConfig.AOLE_PUBLIC_APP_INSTALL_WHITELIST, new HashSet<>());
Log.e(TAG, "deleteOtherApp: pubAppSet = " + pubAppSet);
List<String> resulWhitetList = new ArrayList<>(defaultPackages);
resulWhitetList.addAll(allAppWhiteSet);