Add MotionEventTest to code pointer for adding new axes

Bug: 255408337
Test: none
Change-Id: I2c3c23569885e99a4c657ed71c73f2ba5cc47978
This commit is contained in:
Harry Cutts
2022-10-25 14:07:13 +00:00
parent 81f938b39f
commit 369e3cfd54

View File

@@ -1294,6 +1294,8 @@ public final class MotionEvent extends InputEvent implements Parcelable {
// NOTE: If you add a new axis here you must also add it to:
// frameworks/native/include/android/input.h
// frameworks/native/libs/input/InputEventLabels.cpp
// platform/cts/tests/tests/view/src/android/view/cts/MotionEventTest.java
// (testAxisFromToString)
// Symbolic names of all axes.
private static final SparseArray<String> AXIS_SYMBOLIC_NAMES = new SparseArray<String>();