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

Commit c2e01671 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add NO_FOCUS_CHANGE flag to MotionEvent" into sc-dev am: 14449b87

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13837775

Change-Id: Ie3c4a1ab687f24f01516de877baada85461bbad1
parents ab344bc1 14449b87
Loading
Loading
Loading
Loading
+9 −0
Original line number Original line Diff line number Diff line
@@ -484,6 +484,15 @@ public final class MotionEvent extends InputEvent implements Parcelable {
     */
     */
    public static final int FLAG_CANCELED = 0x20;
    public static final int FLAG_CANCELED = 0x20;


    /**
     * This flag indicates that the event will not cause a focus change if it is directed to an
     * unfocused window, even if it an {@link #ACTION_DOWN}. This is typically used with pointer
     * gestures to allow the user to direct gestures to an unfocused window without bringing the
     * window into focus.
     * @hide
     */
    public static final int FLAG_NO_FOCUS_CHANGE = 0x40;

    /**
    /**
     * Private flag that indicates when the system has detected that this motion event
     * Private flag that indicates when the system has detected that this motion event
     * may be inconsistent with respect to the sequence of previously delivered motion events,
     * may be inconsistent with respect to the sequence of previously delivered motion events,