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
copy android.widget.Scroller from AOSP and implement missing scroll APIs
This is needed to make ViewPager functional
This commit is contained in:
@@ -6,6 +6,9 @@ import android.location.LocationManager;
|
||||
import android.os.Handler;
|
||||
|
||||
public class SensorManager {
|
||||
|
||||
public static float GRAVITY_EARTH = 9.81f;
|
||||
|
||||
public Sensor getDefaultSensor(int type) {
|
||||
return new Sensor(type);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user