From 857583385bd7504f89780c99d24b0da073fd43ce Mon Sep 17 00:00:00 2001 From: Chris Ye Date: Sun, 16 May 2021 23:05:17 -0700 Subject: Change native lights to be consistent with java API. Change native lights type to match java API light types. Bug: 181743615 Test: atest InputDeviceLightsManagerTest, atest LightsManagerTest, atest android.hardware.input.cts.tests Change-Id: I45fe0489fdc070bb4057f4bea061f0cbeacad0de --- include/input/InputDevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/input/InputDevice.h') diff --git a/include/input/InputDevice.h b/include/input/InputDevice.h index 712adfa57b..1fec08027f 100644 --- a/include/input/InputDevice.h +++ b/include/input/InputDevice.h @@ -101,7 +101,7 @@ enum class InputDeviceSensorReportingMode : int32_t { }; enum class InputDeviceLightType : int32_t { - SINGLE = 0, + MONO = 0, PLAYER_ID = 1, RGB = 2, MULTI_COLOR = 3, -- cgit v1.2.3-59-g8ed1b