CEC: Switch active input after routing control
Makes sure the previous HDMI input gets switched to upon receiving <Inactive Source> from the current active source device. Bug: 18986597 Change-Id: I7120e81d75b5fd4cafd4b483e9b232b96e50f597
This commit is contained in:
@@ -119,10 +119,9 @@ final class RoutingControlAction extends HdmiCecFeatureAction {
|
||||
|
||||
private void handleReportPowerStatus(int devicePowerStatus) {
|
||||
if (isPowerOnOrTransient(getTvPowerStatus())) {
|
||||
tv().updateActiveInput(mCurrentRoutingPath, mNotifyInputChange);
|
||||
if (isPowerOnOrTransient(devicePowerStatus)) {
|
||||
sendSetStreamPath();
|
||||
} else {
|
||||
tv().updateActiveInput(mCurrentRoutingPath, mNotifyInputChange);
|
||||
}
|
||||
}
|
||||
finishWithCallback(HdmiControlManager.RESULT_SUCCESS);
|
||||
|
||||
Reference in New Issue
Block a user