Crash on Bluetooth keyboard disconnect

Explain your issue here
Post Reply
User avatar
GregSearle
Posts: 2
Joined: Mon Jul 29, 2019 4:56 pm

Crash on Bluetooth keyboard disconnect

Post by GregSearle » Mon Jul 29, 2019 5:36 pm

When a Bluetooth keyboard disconnects from the device, LL crashes, dumping you into the last open app. I believe there is some sort of declaration in the manifest that can inform Android that LL does not handle Bluetooth devices and does not need to know when devices connect or disconnect. I just got a new multi-device mouse which connects as a "keyboard" to support extra buttons, and LL crashes whenever I switch the mouse between devices. Very annoying.

User avatar
Pierrot
Site Admin
Posts: 181
Joined: Wed Jan 23, 2019 12:18 pm
Location: French Alps

Re: Crash on Bluetooth keyboard disconnect

Post by Pierrot » Tue Jul 30, 2019 7:03 am

That's probably a border effect, as LL has no bluetooth permission. I suppose that some event is sent throughout the system and is not handled properly by LL, or maybe an input event is sent and not received as expected. If you could capture the logcat it would be very helpful, as I don't encounter this issue myself. Also does it crash when LL is in the background too ?

User avatar
GregSearle
Posts: 2
Joined: Mon Jul 29, 2019 4:56 pm

Re: Crash on Bluetooth keyboard disconnect

Post by GregSearle » Tue Oct 08, 2019 12:52 pm

I found the resource on this effect. The active app will reload when certain things happen, such as the screen rotating or the keyboard changing.

https://developer.android.com/guide/top ... gTheChange

Post Reply