Merge "Make CEC HAL support required for eARC support" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d945bd9083
@@ -700,6 +700,7 @@ public class HdmiControlService extends SystemService {
|
|||||||
}
|
}
|
||||||
if (mCecController == null) {
|
if (mCecController == null) {
|
||||||
Slog.i(TAG, "Device does not support HDMI-CEC.");
|
Slog.i(TAG, "Device does not support HDMI-CEC.");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
if (mMhlController == null) {
|
if (mMhlController == null) {
|
||||||
mMhlController = HdmiMhlControllerStub.create(this);
|
mMhlController = HdmiMhlControllerStub.create(this);
|
||||||
@@ -713,9 +714,6 @@ public class HdmiControlService extends SystemService {
|
|||||||
if (mEarcController == null) {
|
if (mEarcController == null) {
|
||||||
Slog.i(TAG, "Device does not support eARC.");
|
Slog.i(TAG, "Device does not support eARC.");
|
||||||
}
|
}
|
||||||
if (mCecController == null && mEarcController == null) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
mHdmiCecNetwork = new HdmiCecNetwork(this, mCecController, mMhlController);
|
mHdmiCecNetwork = new HdmiCecNetwork(this, mCecController, mMhlController);
|
||||||
if (isCecControlEnabled()) {
|
if (isCecControlEnabled()) {
|
||||||
initializeCec(INITIATED_BY_BOOT_UP);
|
initializeCec(INITIATED_BY_BOOT_UP);
|
||||||
|
|||||||
Reference in New Issue
Block a user