diff options
author | Justin Koh <justinkoh@google.com> | 2014-05-05 15:47:39 -0700 |
---|---|---|
committer | Justin Koh <justinkoh@google.com> | 2014-05-05 15:47:39 -0700 |
commit | 8bed554e4ffe1a4b6b107b74da6651f31bd73e04 (patch) | |
tree | 843522ad82f879b3114e515e99bd57d4bc9cc387 | |
parent | 1e822a8fe1f3063aa0d3eb47a7afdda9702c1734 (diff) | |
download | frameworks_base-8bed554e4ffe1a4b6b107b74da6651f31bd73e04.zip frameworks_base-8bed554e4ffe1a4b6b107b74da6651f31bd73e04.tar.gz frameworks_base-8bed554e4ffe1a4b6b107b74da6651f31bd73e04.tar.bz2 |
Hide InputDevice#supportsSource DO NOT MERGE
Bug: 14116162
Change-Id: I7c0ae516596f965083622aa77281abf6d47dc0b7
-rw-r--r-- | api/current.txt | 1 | ||||
-rw-r--r-- | core/java/android/view/InputDevice.java | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/api/current.txt b/api/current.txt index 5fd2952..02e49fc 100644 --- a/api/current.txt +++ b/api/current.txt @@ -26599,7 +26599,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 diff --git a/core/java/android/view/InputDevice.java b/core/java/android/view/InputDevice.java index ae5f37e..88c722b 100644 --- a/core/java/android/view/InputDevice.java +++ b/core/java/android/view/InputDevice.java @@ -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; |