From acfeb13d5fca494b3ad53b6102d125aeea8efd20 Mon Sep 17 00:00:00 2001 From: David Zhao Date: Wed, 15 Mar 2023 13:32:23 -0700 Subject: [PATCH] Adjust TvMessageEventType enum to match Java framework Changing the "Other" value to match the value at frameworks/base/media/java/android/media/tv/TvInputManager.java Bug: 273794209 Test: mmm Change-Id: I88ff78edb7d133c0e5b51be301d8f71dea8e34ae --- .../current/android/hardware/tv/input/TvMessageEventType.aidl | 2 +- tv/input/aidl/android/hardware/tv/input/TvMessageEventType.aidl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tv/input/aidl/aidl_api/android.hardware.tv.input/current/android/hardware/tv/input/TvMessageEventType.aidl b/tv/input/aidl/aidl_api/android.hardware.tv.input/current/android/hardware/tv/input/TvMessageEventType.aidl index a033903814..3006198c68 100644 --- a/tv/input/aidl/aidl_api/android.hardware.tv.input/current/android/hardware/tv/input/TvMessageEventType.aidl +++ b/tv/input/aidl/aidl_api/android.hardware.tv.input/current/android/hardware/tv/input/TvMessageEventType.aidl @@ -36,5 +36,5 @@ package android.hardware.tv.input; enum TvMessageEventType { WATERMARK = 1, CLOSED_CAPTION = 2, - OTHER = 3, + OTHER = 1000, } diff --git a/tv/input/aidl/android/hardware/tv/input/TvMessageEventType.aidl b/tv/input/aidl/android/hardware/tv/input/TvMessageEventType.aidl index 5a5f472a77..518c7fc441 100644 --- a/tv/input/aidl/android/hardware/tv/input/TvMessageEventType.aidl +++ b/tv/input/aidl/android/hardware/tv/input/TvMessageEventType.aidl @@ -21,5 +21,5 @@ package android.hardware.tv.input; enum TvMessageEventType { WATERMARK = 1, CLOSED_CAPTION = 2, - OTHER = 3, + OTHER = 1000, }