Loading core/java/android/os/Vibrator.java +4 −4 Original line number Diff line number Diff line Loading @@ -72,8 +72,8 @@ public abstract class Vibrator { * * @param milliseconds The number of milliseconds to vibrate. * @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. * For example, specify {@link AudioManager#STREAM_ALARM} for alarm vibrations or * {@link AudioManager#STREAM_RING} for vibrations associated with incoming calls. */ public void vibrate(long milliseconds, int streamHint) { vibrate(Process.myUid(), mPackageName, milliseconds, streamHint); Loading Loading @@ -123,8 +123,8 @@ public abstract class Vibrator { * @param repeat the index into pattern at which to repeat, or -1 if * you don't want to repeat. * @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. * For example, specify {@link AudioManager#STREAM_ALARM} for alarm vibrations or * {@link AudioManager#STREAM_RING} for vibrations associated with incoming calls. */ public void vibrate(long[] pattern, int repeat, int streamHint) { vibrate(Process.myUid(), mPackageName, pattern, repeat, streamHint); Loading Loading
core/java/android/os/Vibrator.java +4 −4 Original line number Diff line number Diff line Loading @@ -72,8 +72,8 @@ public abstract class Vibrator { * * @param milliseconds The number of milliseconds to vibrate. * @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. * For example, specify {@link AudioManager#STREAM_ALARM} for alarm vibrations or * {@link AudioManager#STREAM_RING} for vibrations associated with incoming calls. */ public void vibrate(long milliseconds, int streamHint) { vibrate(Process.myUid(), mPackageName, milliseconds, streamHint); Loading Loading @@ -123,8 +123,8 @@ public abstract class Vibrator { * @param repeat the index into pattern at which to repeat, or -1 if * you don't want to repeat. * @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. * For example, specify {@link AudioManager#STREAM_ALARM} for alarm vibrations or * {@link AudioManager#STREAM_RING} for vibrations associated with incoming calls. */ public void vibrate(long[] pattern, int repeat, int streamHint) { vibrate(Process.myUid(), mPackageName, pattern, repeat, streamHint); Loading