mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-26 10:35:50 +01:00
b5bd4da9b1
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. |
||
---|---|---|
.. | ||
banglejs | ||
banglejsNightly/res/values | ||
main | ||
mainline/res/values | ||
nightly/res | ||
nopebble/res | ||
test |