From 4d69fc81d4717f9fd36c625c9ba09ad673d632da Mon Sep 17 00:00:00 2001 From: Harry Cutts Date: Wed, 5 Oct 2022 13:05:41 +0000 Subject: [PATCH] Update code pointer for adding new MotionEvent axes KeycodeLabels.h was deleted years ago, and it seems the same information is now stored in frameworks/native/libs/input/InputEventLabels.cpp instead. Bug: none Test: none Change-Id: I4a3c1baf08e5d93395731329d9b03189bf520388 --- core/java/android/view/MotionEvent.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/view/MotionEvent.java b/core/java/android/view/MotionEvent.java index 5ec7962457744..b5dff5e725fbd 100644 --- a/core/java/android/view/MotionEvent.java +++ b/core/java/android/view/MotionEvent.java @@ -1273,8 +1273,8 @@ public final class MotionEvent extends InputEvent implements Parcelable { public static final int AXIS_GENERIC_16 = 47; // NOTE: If you add a new axis here you must also add it to: - // native/include/android/input.h - // frameworks/base/include/ui/KeycodeLabels.h + // frameworks/native/include/android/input.h + // frameworks/native/libs/input/InputEventLabels.cpp // Symbolic names of all axes. private static final SparseArray AXIS_SYMBOLIC_NAMES = new SparseArray();