Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec1dec74 authored by Amy's avatar Amy Committed by shubang
Browse files

Fix switching back home on OneTouchPlay.

ag/5486592

Use local path instead of local logical address.

Test: manual
Change-Id: Ifd1478bf3c97031f80f3317a9ba34d5230ad6895
parent 0361dd75
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -93,7 +93,7 @@ final class OneTouchPlayAction extends HdmiCecFeatureAction {
            source = source.mService.audioSystem();
        }
        if (source.getLocalActivePort() != Constants.CEC_SWITCH_HOME) {
            source.switchInputOnReceivingNewActivePath(getSourceAddress());
            source.switchInputOnReceivingNewActivePath(getSourcePath());
        }
        source.setRoutingPort(Constants.CEC_SWITCH_HOME);
        source.setLocalActivePort(Constants.CEC_SWITCH_HOME);