Merge "Add apex packages to uid_mapping" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
330a3d89fa
@@ -455,7 +455,8 @@ public class StatsCompanionService extends IStatsCompanionService.Stub {
|
|||||||
// Add in all the apps for every user/profile.
|
// Add in all the apps for every user/profile.
|
||||||
for (UserInfo profile : users) {
|
for (UserInfo profile : users) {
|
||||||
List<PackageInfo> pi =
|
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++) {
|
for (int j = 0; j < pi.size(); j++) {
|
||||||
if (pi.get(j).applicationInfo != null) {
|
if (pi.get(j).applicationInfo != null) {
|
||||||
String installer;
|
String installer;
|
||||||
|
|||||||
Reference in New Issue
Block a user