Merge "Fix NPE when exempting CDM apps from auto revoke" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-06-18 22:20:38 +00:00
committed by Android (Google) Code Review

View File

@@ -222,6 +222,9 @@ public class CompanionDeviceManagerService extends SystemService implements Bind
try {
Set<Association> associations = readAllAssociations(userId);
if (associations == null) {
continue;
}
for (Association a : associations) {
try {
int uid = pm.getPackageUidAsUser(a.companionAppPackage, userId);