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

Commit fc9e1e05 authored by John Spurlock's avatar John Spurlock Committed by Android (Google) Code Review
Browse files

Merge "DO NOT MERGE Hide vibrator streamHint overloads for preview." into lmp-preview-dev

parents b45a730e 098c0b8c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -21693,9 +21693,7 @@ package android.os {
    method public abstract void cancel();
    method public abstract boolean hasVibrator();
    method public void vibrate(long);
    method public void vibrate(long, int);
    method public void vibrate(long[], int);
    method public void vibrate(long[], int, int);
  }
  public class WorkSource implements android.os.Parcelable {
+2 −0
Original line number Diff line number Diff line
@@ -74,6 +74,7 @@ public abstract class Vibrator {
     * @param streamHint An {@link AudioManager} stream type corresponding to the vibration type.
     *        For example, specify {@link AudioManager#STREAM_ALARM} for alarm vibrations or
     *        {@link AudioManager#STREAM_RING} for vibrations associated with incoming calls.
     * @hide
     */
    public void vibrate(long milliseconds, int streamHint) {
        vibrate(Process.myUid(), mPackageName, milliseconds, streamHint);
@@ -125,6 +126,7 @@ public abstract class Vibrator {
     * @param streamHint An {@link AudioManager} stream type corresponding to the vibration type.
     *        For example, specify {@link AudioManager#STREAM_ALARM} for alarm vibrations or
     *        {@link AudioManager#STREAM_RING} for vibrations associated with incoming calls.
     * @hide
     */
    public void vibrate(long[] pattern, int repeat, int streamHint) {
        vibrate(Process.myUid(), mPackageName, pattern, repeat, streamHint);