summaryrefslogtreecommitdiff
path: root/include/input
diff options
context:
space:
mode:
authorChris Ye <lzye@google.com>2021-05-16 23:05:17 -0700
committerChris Ye <lzye@google.com>2021-05-16 23:07:40 -0700
commit857583385bd7504f89780c99d24b0da073fd43ce (patch)
treecec33402f6188d35091559e9925ff9edb006fd6c /include/input
parentd16d3a03fcab524ace2e27c3bdb8b0dd8510e940 (diff)
downloadnative-857583385bd7504f89780c99d24b0da073fd43ce.tar.gz
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
Diffstat (limited to 'include/input')
-rw-r--r--include/input/InputDevice.h2
1 files changed, 1 insertions, 1 deletions
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,