summaryrefslogtreecommitdiff
path: root/include/android
diff options
context:
space:
mode:
author Chris Ye <lzye@google.com> 2021-01-06 18:45:18 -0800
committer Chris Ye <lzye@google.com> 2021-02-22 16:19:29 -0800
commit3fdbfef367514df07b0cf158fc24fe72aca0541f (patch)
treeef7afcbe6f8f35ccd83c55a1511019c3240b072e /include/android
parent97792f96d7760311383ca9c94590d5039a025583 (diff)
Support Inputdevice LightsManager feature in frameworks.
Add lights manager support to input frameworks. Bug: 161633625 Test: atest LightsManagerTest, atest InputDeviceLightsManagerTest Change-Id: Ie00357bce0f6c98e9eada5e0a79f93f48e7a4d1b
Diffstat (limited to 'include/android')
-rw-r--r--include/android/input.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/android/input.h b/include/android/input.h
index b70d42427d..797348742d 100644
--- a/include/android/input.h
+++ b/include/android/input.h
@@ -859,7 +859,7 @@ enum {
/** HDMI */
AINPUT_SOURCE_HDMI = 0x02000000 | AINPUT_SOURCE_CLASS_BUTTON,
/** sensor */
- AINPUT_SOURCE_SENSOR = 0x04000000 | AINPUT_SOURCE_UNKNOWN,
+ AINPUT_SOURCE_SENSOR = 0x04000000 | AINPUT_SOURCE_CLASS_NONE,
/** rotary encoder */
AINPUT_SOURCE_ROTARY_ENCODER = 0x00400000 | AINPUT_SOURCE_CLASS_NONE,