[DO NOT MERGE] Fixes CompanionDeviceManagerTest am: 96e2d98c5c

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

Change-Id: Id52fefe163964562351d1dac879f97f75c5b6c4d
This commit is contained in:
Antonio Kantek
2020-12-04 17:22:40 +00:00
committed by Automerger Merge Worker

View File

@@ -565,7 +565,8 @@ public class CompanionDeviceManagerService extends SystemService implements Bind
if (DEBUG) {
Log.i(LOG_TAG, "recordAssociation(" + association + ")");
}
updateAssociations(associations -> CollectionUtils.add(associations, association));
updateAssociations(associations -> CollectionUtils.add(associations, association),
association.userId);
}
private void recordAssociation(String privilegedPackage, String deviceAddress) {