Makes sure the previous HDMI input gets switched to upon receiving
<Inactive Source> from the current active source device.
Bug:
18986597
Change-Id: I7120e81d75b5fd4cafd4b483e9b232b96e50f597
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);