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

Commit a99b2d1f authored by Eric Laurent's avatar Eric Laurent Committed by Android (Google) Code Review
Browse files

Merge "fix set or clear communication mistake" into main

parents b323696e dc43f0e6
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -361,15 +361,6 @@ public class AudioDeviceBroker {
                    + ", uid: " + attributionSource.getUid());
        }

        if (device == null) {
            synchronized (mDeviceStateLock) {
                CommunicationRouteClient client =
                        getCommunicationRouteClientForUid(attributionSource.getUid());
                if (client == null) {
                    return false;
                }
            }
        }
        synchronized (mCommunicationDeviceLock) {
            mCommunicationDeviceUpdateCount++;
            AudioDeviceAttributes deviceAttr =