Loading core/java/android/hardware/input/VirtualTouchEvent.java +2 −1 Original line number Diff line number Diff line Loading @@ -255,7 +255,8 @@ public final class VirtualTouchEvent implements Parcelable { public @NonNull Builder setAction(@Action int action) { if (action != ACTION_DOWN && action != ACTION_UP && action != ACTION_MOVE && action != ACTION_CANCEL) { throw new IllegalArgumentException("Unsupported touch event action type"); throw new IllegalArgumentException( "Unsupported touch event action type: " + action); } mAction = action; return this; Loading Loading
core/java/android/hardware/input/VirtualTouchEvent.java +2 −1 Original line number Diff line number Diff line Loading @@ -255,7 +255,8 @@ public final class VirtualTouchEvent implements Parcelable { public @NonNull Builder setAction(@Action int action) { if (action != ACTION_DOWN && action != ACTION_UP && action != ACTION_MOVE && action != ACTION_CANCEL) { throw new IllegalArgumentException("Unsupported touch event action type"); throw new IllegalArgumentException( "Unsupported touch event action type: " + action); } mAction = action; return this; Loading