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

Commit d945bd90 authored by Nathalie Le Clair's avatar Nathalie Le Clair Committed by Android (Google) Code Review
Browse files

Merge "Make CEC HAL support required for eARC support" into udc-dev

parents 5ee6cee7 8b14b52d
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -700,6 +700,7 @@ public class HdmiControlService extends SystemService {
        }
        if (mCecController == null) {
            Slog.i(TAG, "Device does not support HDMI-CEC.");
            return;
        }
        if (mMhlController == null) {
            mMhlController = HdmiMhlControllerStub.create(this);
@@ -713,9 +714,6 @@ public class HdmiControlService extends SystemService {
        if (mEarcController == null) {
            Slog.i(TAG, "Device does not support eARC.");
        }
        if (mCecController == null && mEarcController == null) {
            return;
        }
        mHdmiCecNetwork = new HdmiCecNetwork(this, mCecController, mMhlController);
        if (isCecControlEnabled()) {
            initializeCec(INITIATED_BY_BOOT_UP);