Merge "Fix TV doesn't send <Active Source> on boot up"
This commit is contained in:
@@ -1232,7 +1232,8 @@ final class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice {
|
|||||||
void launchRoutingControl(boolean routingForBootup) {
|
void launchRoutingControl(boolean routingForBootup) {
|
||||||
assertRunOnServiceThread();
|
assertRunOnServiceThread();
|
||||||
// Seq #24
|
// Seq #24
|
||||||
if (getActivePortId() != Constants.INVALID_PORT_ID) {
|
if (getActivePortId() != Constants.INVALID_PORT_ID
|
||||||
|
&& getActivePortId() != Constants.CEC_SWITCH_HOME) {
|
||||||
if (!routingForBootup && !isProhibitMode()) {
|
if (!routingForBootup && !isProhibitMode()) {
|
||||||
int newPath = mService.portIdToPath(getActivePortId());
|
int newPath = mService.portIdToPath(getActivePortId());
|
||||||
setActivePath(newPath);
|
setActivePath(newPath);
|
||||||
|
|||||||
Reference in New Issue
Block a user