diff options
| author | 2018-11-09 15:57:25 -0800 | |
|---|---|---|
| committer | 2019-01-15 18:13:11 -0800 | |
| commit | ec1dec74a97763525a4580b0daea37a04577eafa (patch) | |
| tree | 4094934a2bb66994d8f475b68957d5ef35a9de45 | |
| parent | 0361dd75f164332cae1180ebf9fa677479c5d6f9 (diff) | |
Fix switching back home on OneTouchPlay.
ag/5486592
Use local path instead of local logical address.
Test: manual
Change-Id: Ifd1478bf3c97031f80f3317a9ba34d5230ad6895
| -rw-r--r-- | services/core/java/com/android/server/hdmi/OneTouchPlayAction.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/hdmi/OneTouchPlayAction.java b/services/core/java/com/android/server/hdmi/OneTouchPlayAction.java index d665efe5a4e9..354d8d1e43e0 100644 --- a/services/core/java/com/android/server/hdmi/OneTouchPlayAction.java +++ b/services/core/java/com/android/server/hdmi/OneTouchPlayAction.java @@ -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); |