Merge "Reduce vibration length of camera gesture" into nyc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d37db3c77f
@@ -4640,7 +4640,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
|
|||||||
|
|
||||||
private void vibrateForCameraGesture() {
|
private void vibrateForCameraGesture() {
|
||||||
// Make sure to pass -1 for repeat so VibratorService doesn't stop us when going to sleep.
|
// Make sure to pass -1 for repeat so VibratorService doesn't stop us when going to sleep.
|
||||||
mVibrator.vibrate(new long[]{0, 750L}, -1 /* repeat */);
|
mVibrator.vibrate(new long[]{0, 400}, -1 /* repeat */);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onScreenTurnedOn() {
|
public void onScreenTurnedOn() {
|
||||||
|
|||||||
Reference in New Issue
Block a user