android: jni: button_manager: Fix circle pad on subsequent game launch.

- We were missing an UnregisterFactory call for AnalogDevice.
This commit is contained in:
bunnei 2019-07-20 15:30:59 -04:00
parent 2dafa2fd4d
commit 37d7152a7e
2 changed files with 2 additions and 1 deletions

View File

@ -311,6 +311,7 @@ void Init() {
void Shutdown() {
Input::UnregisterFactory<Input::ButtonDevice>("gamepad");
Input::UnregisterFactory<Input::AnalogDevice>("gamepad");
button.reset();
analog.reset();
}