Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16a7dc60 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update the known CDM associations when creating a VD" into main

parents 20189081 14e6c802
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -454,6 +454,12 @@ public class VirtualDeviceManagerService extends SystemService {
                    associationInfo.getDeviceProfile())) {
                throw new IllegalArgumentException("Unsupported CDM Association device profile "
                        + associationInfo.getDeviceProfile() + " for virtual device creation.");
            } else {
                synchronized (mVirtualDeviceManagerLock) {
                    mActiveAssociations.put(
                            VirtualDeviceImpl.createPersistentDeviceId(associationInfo.getId()),
                            associationInfo);
                }
            }
            return createVirtualDevice(token, attributionSource, associationInfo, params,
                    activityListener, soundEffectListener);