mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-02-02 04:02:09 +01:00
8a7de15841
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. |
||
---|---|---|
.. | ||
actions | ||
profiles | ||
AbstractBTLEDeviceSupport.java | ||
AbstractBTLEOperation.java | ||
AbstractGattCallback.java | ||
AbstractTransaction.java | ||
BleNamesResolver.java | ||
BLETypeConversions.java | ||
BtLEAction.java | ||
BTLEOperation.java | ||
BtLEQueue.java | ||
BtLEServerAction.java | ||
GattCallback.java | ||
GattCharacteristic.java | ||
GattDescriptor.java | ||
GattListenerAction.java | ||
GattServerCallback.java | ||
GattService.java | ||
ServerTransaction.java | ||
ServerTransactionBuilder.java | ||
Transaction.java | ||
TransactionBuilder.java |