diff options
| -rw-r--r-- | core/api/test-current.txt | 4 | ||||
| -rw-r--r-- | core/java/android/view/MotionEvent.java | 12 |
2 files changed, 1 insertions, 15 deletions
diff --git a/core/api/test-current.txt b/core/api/test-current.txt index a4cc44646341..40c6fa8986f7 100644 --- a/core/api/test-current.txt +++ b/core/api/test-current.txt @@ -3506,10 +3506,6 @@ package android.view { field public static final int FLAG_IS_ACCESSIBILITY_EVENT = 2048; // 0x800 } - public static final class MotionEvent.PointerCoords { - method public boolean isResampled(); - } - @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @java.lang.annotation.Target({java.lang.annotation.ElementType.METHOD}) public @interface RemotableViewMethod { method public abstract String asyncImpl() default ""; } diff --git a/core/java/android/view/MotionEvent.java b/core/java/android/view/MotionEvent.java index 776eeda7484e..cdf5eec32fec 100644 --- a/core/java/android/view/MotionEvent.java +++ b/core/java/android/view/MotionEvent.java @@ -18,6 +18,7 @@ package android.view; import static android.os.IInputConstants.INPUT_EVENT_FLAG_IS_ACCESSIBILITY_EVENT; import static android.view.Display.DEFAULT_DISPLAY; + import static java.lang.annotation.RetentionPolicy.SOURCE; import android.annotation.IntDef; @@ -4360,17 +4361,6 @@ public final class MotionEvent extends InputEvent implements Parcelable { public boolean isResampled; /** - * Returns true if this pointer coords object was generated by resampling, rather than from - * an actual input event from the device at this time. - * - * @hide - */ - @TestApi - public boolean isResampled() { - return isResampled; - } - - /** * Clears the contents of this object. * Resets all axes to zero. */ |