Merge "Add apex packages to uid_mapping" into qt-dev

This commit is contained in:
TreeHugger Robot
2019-04-22 21:37:08 +00:00
committed by Android (Google) Code Review

View File

@@ -455,7 +455,8 @@ public class StatsCompanionService extends IStatsCompanionService.Stub {
// Add in all the apps for every user/profile.
for (UserInfo profile : users) {
List<PackageInfo> pi =
pm.getInstalledPackagesAsUser(PackageManager.MATCH_KNOWN_PACKAGES, profile.id);
pm.getInstalledPackagesAsUser(PackageManager.MATCH_KNOWN_PACKAGES
| PackageManager.MATCH_APEX, profile.id);
for (int j = 0; j < pi.size(); j++) {
if (pi.get(j).applicationInfo != null) {
String installer;