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

Commit 1440cc6b authored by Justin Koh's avatar Justin Koh Committed by Android (Google) Code Review
Browse files

Merge "Hide InputDevice#supportsSource DO NOT MERGE" into klp-modular-dev

parents ed0c87e7 8bed554e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -26583,7 +26583,6 @@ package android.view {
    method public android.os.Vibrator getVibrator();
    method public boolean[] hasKeys(int...);
    method public boolean isVirtual();
    method public boolean supportsSource(int);
    method public void writeToParcel(android.os.Parcel, int);
    field public static final android.os.Parcelable.Creator CREATOR;
    field public static final int KEYBOARD_TYPE_ALPHABETIC = 2; // 0x2
+1 −0
Original line number Diff line number Diff line
@@ -585,6 +585,7 @@ public final class InputDevice implements Parcelable {
     * type such as {@link InputDevice#SOURCE_MOUSE}, a more generic device class, such as
     * {@link InputDevice#SOURCE_CLASS_POINTER}, or a combination of sources bitwise ORed together.
     * @return Whether the device can produce all of the given sources.
     * @hide
     */
    public boolean supportsSource(int source) {
        return (mSources & source) == source;