Merge "CEC: Do not publish the service if native/HAL is not ready" into lmp-mr1-dev
This commit is contained in:
@@ -303,6 +303,7 @@ public final class HdmiControlService extends SystemService {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Slog.i(TAG, "Device does not support HDMI-CEC.");
|
Slog.i(TAG, "Device does not support HDMI-CEC.");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
mMhlController = HdmiMhlControllerStub.create(this);
|
mMhlController = HdmiMhlControllerStub.create(this);
|
||||||
|
|||||||
@@ -122,6 +122,8 @@ class TvInputHardwareManager implements TvInputHal.Callback {
|
|||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
Slog.w(TAG, "Error registering listeners to HdmiControlService:", e);
|
Slog.w(TAG, "Error registering listeners to HdmiControlService:", e);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
Slog.w(TAG, "HdmiControlService is not available");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user