From 856b582cfb1eb8f6e683c7520d9cdb85ef9f2186 Mon Sep 17 00:00:00 2001 From: Ken Wakasa Date: Wed, 20 Jul 2011 16:51:05 +0900 Subject: [PATCH] Vibrator.hasVibrator() takes no parameter. bug: 5038842 Change-Id: I239a2f35488a1f18ecdb019abc50e72e3e9da297 --- .../com/android/inputmethod/compat/VibratorCompatWrapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/com/android/inputmethod/compat/VibratorCompatWrapper.java b/java/src/com/android/inputmethod/compat/VibratorCompatWrapper.java index 8e2a2e0b8..a6304d877 100644 --- a/java/src/com/android/inputmethod/compat/VibratorCompatWrapper.java +++ b/java/src/com/android/inputmethod/compat/VibratorCompatWrapper.java @@ -23,7 +23,7 @@ import java.lang.reflect.Method; public class VibratorCompatWrapper { private static final Method METHOD_hasVibrator = CompatUtils.getMethod(Vibrator.class, - "hasVibrator", int.class); + "hasVibrator"); private static final VibratorCompatWrapper sInstance = new VibratorCompatWrapper(); private Vibrator mVibrator;