mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-06-23 05:20:35 +02:00
If the device connection state is updated from two threads simultaneously (as in, from the main looper and from the thread that handles BluetoothDevice.connectGatt), a second update may get overridden by the first update if the broadcasts are handled out-of-order by the LocalBroadcastManager. By updating the device state through a handler on the main looper, the broadcasts are sent in order as they are processed from the looper's queue. This may be a potential solve for issue #3524. |
||
---|---|---|
.. | ||
com/mobeta/android/dslv | ||
lineageos | ||
net/osmand/aidlapi | ||
nodomain/freeyourgadget/gadgetbridge | ||
org/bouncycastle/shaded | ||
ru/gelin/android/weather/notification |