summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2013-01-31 15:06:32 -0800
committerDianne Hackborn <hackbod@google.com>2013-01-31 15:06:32 -0800
commit180de3514a800df7b9ca8f1c3da23287a709f61b (patch)
treedf3e13426bc56c8429e0a760b79f59545ef1b101
parent0ada29ea0983ed27e33d12dfe9b1280fc7005a7e (diff)
downloadandroid_packages_apps_PhoneCommon-cm-10.2.1.tar.gz
android_packages_apps_PhoneCommon-cm-10.2.1.tar.bz2
android_packages_apps_PhoneCommon-cm-10.2.1.zip
App ops: vibrator would now like a context for the package name.cm-10.2.1cm-10.2.0cm-10.2-M1stable/cm-10.2cm-10.2
Change-Id: I2964b500add8e31b0ddc8755dd769f9801a13777
-rw-r--r--src/com/android/phone/common/HapticFeedback.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/phone/common/HapticFeedback.java b/src/com/android/phone/common/HapticFeedback.java
index c470730..e667ad6 100644
--- a/src/com/android/phone/common/HapticFeedback.java
+++ b/src/com/android/phone/common/HapticFeedback.java
@@ -92,7 +92,7 @@ public class HapticFeedback {
if (enabled) {
// We don't rely on getSystemService(Context.VIBRATOR_SERVICE) to make sure this
// vibrator object will be isolated from others.
- mVibrator = new SystemVibrator();
+ mVibrator = new SystemVibrator(context);
if (!loadHapticSystemPattern(context.getResources())) {
mHapticPattern = new long[] {0, DURATION, 2 * DURATION, 3 * DURATION};
}