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

Commit 7bc8a4f5 authored by aosong.kuang's avatar aosong.kuang Committed by Eric Laurent
Browse files

getCommunicationDevice() will wait after device update end

Bug:410486040
Test: make
Flag: EXEMPT bug fix
(cherry picked from https://android-review.googlesource.com/q/commit:5a399baf022d12aafb0e5ea4d89524c2bfa87796)
Merged-In: I228a546f75127ae9420ed0425eb53fb767589d36
Change-Id: I228a546f75127ae9420ed0425eb53fb767589d36
parent 8fc75d65
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2056,7 +2056,7 @@ public class AudioDeviceBroker {
                            Log.e(TAG, "mCommunicationDeviceUpdateCount already 0 in"
                                    + " MSG_L_SET_COMMUNICATION_DEVICE_FOR_CLIENT");
                        }
                        mCommunicationDeviceLock.notify();
                        mCommunicationDeviceLock.notifyAll();
                    }
                    break;