fix: 修复更改批次不删除原来的app,修复升级会删除公共应用
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user