f09d033156
Once sensor listeners are registered, onSensorChanged() (and subsequently getRotatedValues()) gets called multiple times per socond. Obtaining WindowManager on each of those calls is superfluous and can be avoided by extracting it to a lazy class val. getRotatedValue() can also be called before checking sensor type, and used for each one of them, resulting in less code repetition. |
||
---|---|---|
.. | ||
aidl/com/android/vending/licensing | ||
patches | ||
res | ||
src | ||
srcTest/java/org/godotengine/godot/utils | ||
AndroidManifest.xml | ||
build.gradle | ||
THIRDPARTY.md |