Code
Critical line:
https://github.com/zhufucdev/MotionEmulator/blob/641a80e48fbabf7faabaefde83cf36e1b7472ae0/stub_plugin_xposed/src/main/java/com/zhu
fucdev/xposed/SensorHooker.kt#L63
Android source:
https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/hardware/SensorEvent.java#856
Effect
Some devices of API without the Tuple4 SensorEvent constructor will fail to start an emulation.
Solution
Because stable branch is locked and main branch is inactive, this bug will not be resolved, thus keeping this issue open for anyone interested in maintaining this legacy codebase and/or releasing their fork.
Code
Critical line:
https://github.com/zhufucdev/MotionEmulator/blob/641a80e48fbabf7faabaefde83cf36e1b7472ae0/stub_plugin_xposed/src/main/java/com/zhu
fucdev/xposed/SensorHooker.kt#L63
Android source:
https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/hardware/SensorEvent.java#856
Effect
Some devices of API without the Tuple4 SensorEvent constructor will fail to start an emulation.
Solution
Because stable branch is locked and main branch is inactive, this bug will not be resolved, thus keeping this issue open for anyone interested in maintaining this legacy codebase and/or releasing their fork.