Vibrator.hasVibrator() takes no parameter.
bug: 5038842 Change-Id: I239a2f35488a1f18ecdb019abc50e72e3e9da297main
parent
ef5dfc480c
commit
856b582cfb
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue