diff options
author | Dianne Hackborn <hackbod@google.com> | 2013-01-31 15:06:32 -0800 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2013-01-31 15:06:32 -0800 |
commit | 180de3514a800df7b9ca8f1c3da23287a709f61b (patch) | |
tree | df3e13426bc56c8429e0a760b79f59545ef1b101 | |
parent | 0ada29ea0983ed27e33d12dfe9b1280fc7005a7e (diff) | |
download | packages_apps_PhoneCommon-180de3514a800df7b9ca8f1c3da23287a709f61b.tar.gz packages_apps_PhoneCommon-180de3514a800df7b9ca8f1c3da23287a709f61b.tar.bz2 packages_apps_PhoneCommon-180de3514a800df7b9ca8f1c3da23287a709f61b.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.java | 2 |
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}; } |