summaryrefslogtreecommitdiff
path: root/core/java/android/view/InputDevice.java
diff options
context:
space:
mode:
authorLais Andrade <lsandrade@google.com>2021-04-12 20:08:41 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2021-04-12 20:08:41 +0000
commit8b2586c6ea5751e33a44d7fa779698ffc71983be (patch)
treeadd6e865b7992ef14a43863bb2d1a9b2f36eac15 /core/java/android/view/InputDevice.java
parent7f188a9fa6a353eb2c0d18ec45fe3ba75e4c1ce4 (diff)
parentd8dc940fc013756cc46bdde7cb1537025dcdaaae (diff)
Merge "Rename CombinedVibrationEffect to CombinedVibration" into sc-dev
Diffstat (limited to 'core/java/android/view/InputDevice.java')
-rw-r--r--core/java/android/view/InputDevice.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/view/InputDevice.java b/core/java/android/view/InputDevice.java
index d1f8ee9b0cc7..3b1c8ec23016 100644
--- a/core/java/android/view/InputDevice.java
+++ b/core/java/android/view/InputDevice.java
@@ -812,7 +812,9 @@ public final class InputDevice implements Parcelable {
* {@link Context#getSystemService} with {@link Context#VIBRATOR_SERVICE} as argument.
*
* @return The vibrator service associated with the device, never null.
+ * @deprecated Use {@link #getVibratorManager()} to retrieve the default device vibrator.
*/
+ @Deprecated
public Vibrator getVibrator() {
synchronized (mMotionRanges) {
if (mVibrator == null) {