Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4d69fc81 authored by Harry Cutts's avatar Harry Cutts
Browse files

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
parent 2d6d757b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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>();