Merge "Fix NPE when exempting CDM apps from auto revoke" into rvc-dev am: 19272a236b am: 1587e4734c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11920154

Change-Id: I2af2497a0af099094cee7a4e23e702592bd63df8
This commit is contained in:
TreeHugger Robot
2020-06-18 22:40:51 +00:00
committed by Automerger Merge Worker

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);