| Summary: | turning bluetooth keyboard on or off crashes the app | ||
|---|---|---|---|
| Product: | SDL | Reporter: | trabitboy |
| Component: | events | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | major | ||
| Priority: | P2 | CC: | sylvain.becker |
| Version: | 2.0.7 | ||
| Hardware: | ARM | ||
| OS: | Android (All) | ||
|
Description
trabitboy
2017-11-01 20:28:06 UTC
Tested again on SDL 2.0.7 , android 6 ; arm eabi v7a The app doesn't crash anymore but freezes ( on sync and desync ). If the keyboard is already synchronized; app starts fine and functions normally ( until desync ) can you do an "adb logcat" and provides the crash/exception stack trace. not a bug , at least on 2.0.5, the keyboard on off on android is a configuration change and restarts the activity : https://stackoverflow.com/questions/25735227/bluetooth-keyboard-will-cause-activity-destroy-and-recreate solution tested works, maybe changing the default manifest to include the fix would be good. Moreover it's already in the lastest source: https://hg.libsdl.org/SDL/diff/7274ada44290/android-project/app/src/main/AndroidManifest.xml |