Merge "Remove duplicated setCompanionAppUids() line in CdmService"

This commit is contained in:
Sergey Nikolaienkov
2021-12-23 07:30:19 +00:00
committed by Android (Google) Code Review

View File

@@ -973,11 +973,8 @@ public class CompanionDeviceManagerService extends SystemService {
companionAppUids.add(uid);
}
}
if (mAtmInternal != null) {
mAtmInternal.setCompanionAppUids(userId, companionAppUids);
}
if (mAmInternal != null) {
// Make a copy of companionAppUids and send it to ActivityManager.
// Make a copy of the set and send it to ActivityManager.
mAmInternal.setCompanionAppUids(userId, new ArraySet<>(companionAppUids));
}
}