Rename HdmiCecDeviceInfo into HdmiDeviceInfo.
In order to include mhl device info to device info,
rename HdmiCecDeviceInfo into HdmiDeviceInfo.
BUG: 16215362
Change-Id: I30fb0216061fbbdd6fdc1b82c63af83f1b678597
diff --git a/services/core/java/com/android/server/hdmi/HdmiCecMessageValidator.java b/services/core/java/com/android/server/hdmi/HdmiCecMessageValidator.java
index 7e73b47..29a73d0 100644
--- a/services/core/java/com/android/server/hdmi/HdmiCecMessageValidator.java
+++ b/services/core/java/com/android/server/hdmi/HdmiCecMessageValidator.java
@@ -16,7 +16,7 @@
package com.android.server.hdmi;
-import android.hardware.hdmi.HdmiCecDeviceInfo;
+import android.hardware.hdmi.HdmiDeviceInfo;
import android.util.Slog;
import android.util.SparseArray;
@@ -268,9 +268,9 @@
* @return true if the given type is valid
*/
static boolean isValidType(int type) {
- return (HdmiCecDeviceInfo.DEVICE_TV <= type
- && type <= HdmiCecDeviceInfo.DEVICE_VIDEO_PROCESSOR)
- && type != HdmiCecDeviceInfo.DEVICE_RESERVED;
+ return (HdmiDeviceInfo.DEVICE_TV <= type
+ && type <= HdmiDeviceInfo.DEVICE_VIDEO_PROCESSOR)
+ && type != HdmiDeviceInfo.DEVICE_RESERVED;
}
private class PhysicalAddressValidator implements ParameterValidator {