Vibrator.hasVibrator() takes no parameter.

bug: 5038842
Change-Id: I239a2f35488a1f18ecdb019abc50e72e3e9da297
This commit is contained in:
Ken Wakasa 2011-07-20 16:51:05 +09:00
parent ef5dfc480c
commit 856b582cfb

View file

@ -23,7 +23,7 @@ import java.lang.reflect.Method;
public class VibratorCompatWrapper { public class VibratorCompatWrapper {
private static final Method METHOD_hasVibrator = CompatUtils.getMethod(Vibrator.class, private static final Method METHOD_hasVibrator = CompatUtils.getMethod(Vibrator.class,
"hasVibrator", int.class); "hasVibrator");
private static final VibratorCompatWrapper sInstance = new VibratorCompatWrapper(); private static final VibratorCompatWrapper sInstance = new VibratorCompatWrapper();
private Vibrator mVibrator; private Vibrator mVibrator;