1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2025-02-05 14:37:49 +01:00
MrYoranimo b5bd4da9b1 Xiaomi SPPv2: Catch exception thrown in onPacketReceived
When a received packet causes an exception to be thrown while
getting handled in the service's onPacketReceived method, the
message will get stuck in the queue because it is never released.
Subsequently received messages get lined up after the first message
that causes an exception, and since that message is never removed,
those newer messages are never processed.

Catching the exception thrown from within the onPacketReceived method
allows the code flow to continue and therefore remove the troubling
message from the queue.
2024-11-18 23:25:28 +01:00
..
2024-11-11 23:29:47 +01:00
2024-02-19 12:14:36 +01:00