Merge "Fix NPE when exempting CDM apps from auto revoke" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
19272a236b
@@ -222,6 +222,9 @@ public class CompanionDeviceManagerService extends SystemService implements Bind
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
Set<Association> associations = readAllAssociations(userId);
|
Set<Association> associations = readAllAssociations(userId);
|
||||||
|
if (associations == null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
for (Association a : associations) {
|
for (Association a : associations) {
|
||||||
try {
|
try {
|
||||||
int uid = pm.getPackageUidAsUser(a.companionAppPackage, userId);
|
int uid = pm.getPackageUidAsUser(a.companionAppPackage, userId);
|
||||||
|
|||||||
Reference in New Issue
Block a user