summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--services/core/java/com/android/server/tv/TvInputHardwareManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/tv/TvInputHardwareManager.java b/services/core/java/com/android/server/tv/TvInputHardwareManager.java
index 48e3249..85659cf 100644
--- a/services/core/java/com/android/server/tv/TvInputHardwareManager.java
+++ b/services/core/java/com/android/server/tv/TvInputHardwareManager.java
@@ -191,7 +191,7 @@ class TvInputHardwareManager implements TvInputHal.Callback {
String inputId = mHardwareInputIdMap.get(deviceId);
if (inputId != null) {
mHandler.obtainMessage(ListenerHandler.STATE_CHANGED,
- convertConnectedToState(config.length > 0), 0, inputId).sendToTarget();
+ convertConnectedToState(configs.length > 0), 0, inputId).sendToTarget();
}
try {
connection.getCallbackLocked().onStreamConfigChanged(configs);