diff options
| author | Lais Andrade <lsandrade@google.com> | 2021-04-12 20:08:41 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2021-04-12 20:08:41 +0000 |
| commit | 8b2586c6ea5751e33a44d7fa779698ffc71983be (patch) | |
| tree | add6e865b7992ef14a43863bb2d1a9b2f36eac15 /core/java/android/view/InputDevice.java | |
| parent | 7f188a9fa6a353eb2c0d18ec45fe3ba75e4c1ce4 (diff) | |
| parent | d8dc940fc013756cc46bdde7cb1537025dcdaaae (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.java | 2 |
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) { |
