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
This commit is contained in:
Harry Cutts
2022-10-05 13:05:41 +00:00
parent 2d6d757b00
commit 4d69fc81d4

View File

@@ -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<String> AXIS_SYMBOLIC_NAMES = new SparseArray<String>();