diff options
author | Jinsuk Kim <jinsukkim@google.com> | 2014-10-06 14:28:06 +0900 |
---|---|---|
committer | Jinsuk Kim <jinsukkim@google.com> | 2014-10-06 14:53:07 +0900 |
commit | 995fcfc5919b7375d2d8cbc2ca5e08e193ffaf17 (patch) | |
tree | 67b11decda2fc0f301f310acdb8c48ab84aa02a6 /services/core | |
parent | ec3ce59c16369aa8ce63da7070be3cd5a6d8cc75 (diff) | |
download | frameworks_base-995fcfc5919b7375d2d8cbc2ca5e08e193ffaf17.zip frameworks_base-995fcfc5919b7375d2d8cbc2ca5e08e193ffaf17.tar.gz frameworks_base-995fcfc5919b7375d2d8cbc2ca5e08e193ffaf17.tar.bz2 |
CEC: Reset active source status on routing control
Set active source status to false when broadcast routing control
commands indicate other device is about to be the new active source.
Bug: 17840270
Change-Id: I176e21ec8789624e29421b912ba641a21f0f5f21
Diffstat (limited to 'services/core')
-rw-r--r-- | services/core/java/com/android/server/hdmi/HdmiCecLocalDevicePlayback.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/hdmi/HdmiCecLocalDevicePlayback.java b/services/core/java/com/android/server/hdmi/HdmiCecLocalDevicePlayback.java index 3bd0bcf..e8ab673 100644 --- a/services/core/java/com/android/server/hdmi/HdmiCecLocalDevicePlayback.java +++ b/services/core/java/com/android/server/hdmi/HdmiCecLocalDevicePlayback.java @@ -183,6 +183,8 @@ final class HdmiCecLocalDevicePlayback extends HdmiCecLocalDevice { private void maySetActiveSource(int physicalAddress) { if (physicalAddress == mService.getPhysicalAddress()) { mIsActiveSource = true; + } else { + mIsActiveSource = false; } } |