Vibrator.hasVibrator() takes no parameter.

bug: 5038842
Change-Id: I239a2f35488a1f18ecdb019abc50e72e3e9da297
main
Ken Wakasa 2011-07-20 16:51:05 +09:00
parent ef5dfc480c
commit 856b582cfb
1 changed files with 1 additions and 1 deletions

View File

@ -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;