Implement some apis for TV Input Framework and HdmiControlService
- setInputChangeListener()
- getInputDevices()
Change-Id: I6f7d6d9c7094018e2b6b5ba37f63c8ee5df00e37
diff --git a/core/java/android/hardware/hdmi/IHdmiControlService.aidl b/core/java/android/hardware/hdmi/IHdmiControlService.aidl
index 6acd7b9..0e231cc 100644
--- a/core/java/android/hardware/hdmi/IHdmiControlService.aidl
+++ b/core/java/android/hardware/hdmi/IHdmiControlService.aidl
@@ -21,6 +21,7 @@
import android.hardware.hdmi.IHdmiControlCallback;
import android.hardware.hdmi.IHdmiDeviceEventListener;
import android.hardware.hdmi.IHdmiHotplugEventListener;
+import android.hardware.hdmi.IHdmiInputChangeListener;
import android.hardware.hdmi.IHdmiSystemAudioModeChangeListener;
import java.util.List;
@@ -53,4 +54,6 @@
void setOption(int option, int value);
oneway void setSystemAudioVolume(int oldIndex, int newIndex, int maxIndex);
oneway void setSystemAudioMute(boolean mute);
+ void setInputChangeListener(IHdmiInputChangeListener listener);
+ List<HdmiCecDeviceInfo> getInputDevices();
}