Merge "CEC: Switch active input after routing control" into lmp-mr1-dev

This commit is contained in:
Jinsuk Kim
2015-01-21 02:10:53 +00:00
committed by Android (Google) Code Review

View File

@@ -119,10 +119,9 @@ final class RoutingControlAction extends HdmiCecFeatureAction {
private void handleReportPowerStatus(int devicePowerStatus) { private void handleReportPowerStatus(int devicePowerStatus) {
if (isPowerOnOrTransient(getTvPowerStatus())) { if (isPowerOnOrTransient(getTvPowerStatus())) {
tv().updateActiveInput(mCurrentRoutingPath, mNotifyInputChange);
if (isPowerOnOrTransient(devicePowerStatus)) { if (isPowerOnOrTransient(devicePowerStatus)) {
sendSetStreamPath(); sendSetStreamPath();
} else {
tv().updateActiveInput(mCurrentRoutingPath, mNotifyInputChange);
} }
} }
finishWithCallback(HdmiControlManager.RESULT_SUCCESS); finishWithCallback(HdmiControlManager.RESULT_SUCCESS);