Fix build.
Change-Id: Id08f3ccced1281f1c6840cc67713bcedcf9a53c0
diff --git a/services/input/EventHub.cpp b/services/input/EventHub.cpp
index 2d9c082..38a896f 100644
--- a/services/input/EventHub.cpp
+++ b/services/input/EventHub.cpp
@@ -863,7 +863,7 @@
// See if this device is a joystick.
// Ignore touchscreens because they use the same absolute axes for other purposes.
if (device->classes & INPUT_DEVICE_CLASS_GAMEPAD
- && !(device->classes & INPUT_DEVICE_CLASS_TOUCHSCREEN)) {
+ && !(device->classes & INPUT_DEVICE_CLASS_TOUCH)) {
if (test_bit(ABS_X, abs_bitmask)
|| test_bit(ABS_Y, abs_bitmask)
|| test_bit(ABS_HAT0X, abs_bitmask)