HDMICEC: Add deviceSelect API for Playback devices
Create DeviceSelectActionFromPlayback class and add unit tests for it. Implement deviceSelect inside the HdmiCecLocalDevicePlayback. Move the Active Source validation from deviceSelect HdmiCecLocalDeviceTv to the abstract class in order to make it visible for HdmiCecLocalDevicePlayback and avoid duplicate code. Modify the deviceSelect method from HdmiControlService so the playback devices can handle device selection. Bug: 196934198 Test: make && atest DeviceSelectActionFromPlaybackTest Test: Manually run the shell command "deviceselect <device id>" Change-Id: I53c776a042170980b61e823ee67230e1870fa21d
Loading
Please register or sign in to comment