重构PackageManager

This commit is contained in:
kehaoyuan
2018-06-10 18:34:06 +08:00
parent 309d42fdc1
commit 28f89aa0ad
23 changed files with 285 additions and 332 deletions

View File

@ -118,7 +118,7 @@ public class DataCollectionUtils {
Map<String, Object> map = new HashMap<>();
map.put("type", Build.MODEL);
map.put("system", Build.VERSION.SDK_INT + "=" + Build.VERSION.RELEASE);
map.put("install", PackageManager.getInstalledList());
map.put("install", PackageManager.INSTANCE.getInstalledList());
DataCollectionManager.upsert(context, "user", map);
}