mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-10 03:59:24 +01:00
09632afb78
This happened when sending a notification while doing authentication. The reason the notification came though is the "auto connect" code that is supposed to connect when a message arrives, so that it does not get lost. This code and DeviceSupport::useAutoConnect() is probably totally useless by now and could be removed in favor of the "waiting for reconnect" state. The bug could have been solved by setting the device busy during authentication in Huami code, but I did it by... Note to self: "Block everything except a disconnect request in DeviceCommunicationService if the device is not yet initialzed but connected, assuming it is somewhere in the middle doing something important" |
||
---|---|---|
.. | ||
main | ||
test |