Merge "Implement findAudioReceiverAddress for playback device."
This commit is contained in:
@@ -279,6 +279,14 @@ public class HdmiCecLocalDevicePlayback extends HdmiCecLocalDeviceSource {
|
||||
return Constants.ADDR_TV;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int findAudioReceiverAddress() {
|
||||
if (mService.isSystemAudioActivated()) {
|
||||
return Constants.ADDR_AUDIO_SYSTEM;
|
||||
}
|
||||
return Constants.ADDR_TV;
|
||||
}
|
||||
|
||||
@Override
|
||||
@ServiceThreadOnly
|
||||
protected void disableDevice(boolean initiatedByCec, PendingActionClearedCallback callback) {
|
||||
|
||||
Reference in New Issue
Block a user