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

Commit 6a9f585e authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix SystemAudioAutoInitiationAction not started" am: e6bebf94 am:...

Merge "Fix SystemAudioAutoInitiationAction not started" am: e6bebf94 am: e18c4d7d am: 6e95c7c7 am: 58cdf13a am: 332bd729

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1772932

Change-Id: I0f8844f94a9dd17224b3ef0c0b1bddb0cd5771c0
parents 6f712ef9 332bd729
Loading
Loading
Loading
Loading
+8 −12
Original line number Diff line number Diff line
@@ -568,11 +568,9 @@ final class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice {
            }
        }

        if (!mService.isPowerStandbyOrTransient()) {
        addAndStartAction(new NewDeviceAction(this, activeSource.logicalAddress,
                activeSource.physicalAddress, deviceType));
    }
    }

    private boolean handleNewDeviceAtTheTailOfActivePath(int path) {
        // Seq #22
@@ -723,7 +721,6 @@ final class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice {
    @ServiceThreadOnly
    void onNewAvrAdded(HdmiDeviceInfo avr) {
        assertRunOnServiceThread();
        if (!mService.isPowerStandbyOrTransient()) {
        addAndStartAction(new SystemAudioAutoInitiationAction(this, avr.getLogicalAddress()));
        if (!isDirectConnectAddress(avr.getPhysicalAddress())) {
            startArcAction(false);
@@ -732,7 +729,6 @@ final class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice {
            startArcAction(true);
        }
    }
    }

    @ServiceThreadOnly
    // Seq #32