mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-08-18 01:25:38 +00:00
onInputDeviceChanged() is triggered by starting/stopping pointer capture, so we should unregister our callbacks before that happens to avoid triggering several gamepad context reinitializations right as the stream is exiting