Merge "[DO NOT MERGE] Fixes CompanionDeviceManagerTest" into rvc-qpr-dev

This commit is contained in:
TreeHugger Robot
2020-12-04 16:51:26 +00:00
committed by Android (Google) Code Review

View File

@@ -563,7 +563,8 @@ public class CompanionDeviceManagerService extends SystemService implements Bind
if (DEBUG) { if (DEBUG) {
Log.i(LOG_TAG, "recordAssociation(" + association + ")"); 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) { private void recordAssociation(String privilegedPackage, String deviceAddress) {