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

Commit 936cc9d0 authored by Harry Cutts's avatar Harry Cutts Committed by Android (Google) Code Review
Browse files

Merge "MotionEvent: clean up flag for PointerCoords#isResampled" into main

parents 24024c72 3c5d5efd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -52229,7 +52229,7 @@ package android.view {
    method public void clear();
    method public void copyFrom(android.view.MotionEvent.PointerCoords);
    method public float getAxisValue(int);
    method @FlaggedApi("com.android.hardware.input.pointer_coords_is_resampled_api") public boolean isResampled();
    method public boolean isResampled();
    method public void setAxisValue(int, float);
    field public float orientation;
    field public float pressure;
+0 −8
Original line number Diff line number Diff line
@@ -25,14 +25,6 @@ flag {
    bug: "294546335"
}

flag {
    namespace: "input_native"
    name: "pointer_coords_is_resampled_api"
    is_exported: true
    description: "Makes MotionEvent.PointerCoords#isResampled() a public API"
    bug: "298197511"
}

flag {
    namespace: "input_native"
    name: "emoji_and_screenshot_keycodes_available"
+0 −4
Original line number Diff line number Diff line
@@ -20,7 +20,6 @@ import static android.view.Display.DEFAULT_DISPLAY;

import static java.lang.annotation.RetentionPolicy.SOURCE;

import android.annotation.FlaggedApi;
import android.annotation.IntDef;
import android.annotation.NonNull;
import android.annotation.Nullable;
@@ -36,8 +35,6 @@ import android.os.SystemClock;
import android.util.Log;
import android.util.SparseArray;

import com.android.hardware.input.Flags;

import dalvik.annotation.optimization.CriticalNative;
import dalvik.annotation.optimization.FastNative;

@@ -4436,7 +4433,6 @@ public final class MotionEvent extends InputEvent implements Parcelable {
         * @see android.view.View#requestUnbufferedDispatch(int)
         * @see android.view.View#requestUnbufferedDispatch(MotionEvent)
         */
        @FlaggedApi(Flags.FLAG_POINTER_COORDS_IS_RESAMPLED_API)
        public boolean isResampled() {
            return isResampled;
        }