You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
api-impl: misc stubs
This commit is contained in:
@@ -9,6 +9,10 @@ public class Vibrator {
|
||||
fd = native_constructor();
|
||||
}
|
||||
|
||||
public boolean hasVibrator(){
|
||||
return true;
|
||||
}
|
||||
|
||||
public void vibrate(long millis) {
|
||||
if(fd != -1)
|
||||
native_vibrate(fd, millis);
|
||||
|
||||
Reference in New Issue
Block a user