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

Commit 995fcfc5 authored by Jinsuk Kim's avatar Jinsuk Kim
Browse files

CEC: Reset active source status on routing control

Set active source status to false when broadcast routing control
commands indicate other device is about to be the new active source.

Bug: 17840270
Change-Id: I176e21ec8789624e29421b912ba641a21f0f5f21
parent ec3ce59c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -183,6 +183,8 @@ final class HdmiCecLocalDevicePlayback extends HdmiCecLocalDevice {
    private void maySetActiveSource(int physicalAddress) {
        if (physicalAddress == mService.getPhysicalAddress()) {
            mIsActiveSource = true;
        } else {
            mIsActiveSource = false;
        }
    }