Vibrator.hasVibrator() takes no parameter.
bug: 5038842 Change-Id: I239a2f35488a1f18ecdb019abc50e72e3e9da297
This commit is contained in:
parent
ef5dfc480c
commit
856b582cfb
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue