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

Commit 86a1e5a1 authored by Jinsuk Kim's avatar Jinsuk Kim
Browse files

CEC: Use thread-safe version for avr info

getSystemAudioMode() should have used the thread-safe method
to get the information of the connected AVR.

Bug: 18426137

Change-Id: Ib3edff97337b5960160dd39d551fbfbbfdfce93b
parent 73546e53
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -765,7 +765,7 @@ final class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice {
    }

    boolean isSystemAudioActivated() {
        if (getAvrDeviceInfo() == null) {
        if (!hasSystemAudioDevice()) {
            return false;
        }
        synchronized (mLock) {