summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAltaf-Mahdi <altaf.mahdi@gmail.com>2015-11-09 21:41:37 +0000
committerSteve Kondik <shade@chemlab.org>2015-11-11 04:08:15 -0800
commite7d558a591e0386f98609336dbc59d80153e9c70 (patch)
tree8626899e0d09cec19735ee8e76b55006e07d072a
parent2b74aee16a496e8bc4eab2907a331a2ed30b8ee7 (diff)
downloadframeworks_base-e7d558a591e0386f98609336dbc59d80153e9c70.zip
frameworks_base-e7d558a591e0386f98609336dbc59d80153e9c70.tar.gz
frameworks_base-e7d558a591e0386f98609336dbc59d80153e9c70.tar.bz2
SystemUI: reduce vibration time on double press power for camera
Change-Id: Ib1977563cdae0190fffa1267b56e951d06547db5
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
index 72b5828..957935e 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
@@ -4538,7 +4538,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
private void vibrateForCameraGesture() {
// 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, 250L }, -1 /* repeat */);
}
public void onScreenTurnedOn() {