ralismark / bluehid

Bluetooth HID device for Android Oreo (proof of concept)
Apache License 2.0
36 stars 9 forks source link

Pausing/resuming causes app to stop working #5

Open ralismark opened 4 years ago

ralismark commented 4 years ago

Pausing and resuming the app (e.g. switching to another app and back) causes the app to stop functioning, resulting in a variety of issues including failing to connect to devices, crashing, etc.

The easiest way to approach this is probably to forbid pausing/resuming, and instead restarting every time the app is resumed.