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: add stubs to make AnimationDrawable and Animation not cause lockups
apps may (ab)use AnimationDrawable.run and Animation.setAnimationListener to time transitions between states; even though we don't currently implement the animations, state transitions are still desirable (otherwise the app may lock up)
This commit is contained in:
@@ -35,6 +35,10 @@ public class SensorManager {
|
||||
}
|
||||
}
|
||||
|
||||
public void unregisterListener(final SensorEventListener listener) {
|
||||
unregisterListener(listener, null);
|
||||
}
|
||||
|
||||
public void unregisterListener(final SensorEventListener listener, Sensor sensor) {
|
||||
System.out.println("STUB: andoroid.hw.SensorManager.unregisterListener");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user