Merge "Fix TV doesn't send <Active Source> on boot up" am: 826dbaf5c0 am: 53e05b6b3f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2353103 Change-Id: I2252fbad727e401712da1c507d9390cc983bd90f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1232,7 +1232,8 @@ final class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice {
|
||||
void launchRoutingControl(boolean routingForBootup) {
|
||||
assertRunOnServiceThread();
|
||||
// Seq #24
|
||||
if (getActivePortId() != Constants.INVALID_PORT_ID) {
|
||||
if (getActivePortId() != Constants.INVALID_PORT_ID
|
||||
&& getActivePortId() != Constants.CEC_SWITCH_HOME) {
|
||||
if (!routingForBootup && !isProhibitMode()) {
|
||||
int newPath = mService.portIdToPath(getActivePortId());
|
||||
setActivePath(newPath);
|
||||
|
||||
Reference in New Issue
Block a user