1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-23 05:20:35 +02:00
Gadgetbridge/app/src/main/java
MrYoranimo 8a7de15841 BtLEQueue: update device state on main looper
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.
2024-01-21 01:56:34 +01:00
..
com/mobeta/android/dslv Switch UI to Material 3 and support dynamic colors 2023-08-08 08:47:26 +00:00
lineageos add stripped down version of weather part of lineage sdk 2019-08-22 21:19:03 +02:00
net/osmand/aidlapi experiment with osmand 2023-05-21 22:50:52 +02:00
nodomain/freeyourgadget/gadgetbridge BtLEQueue: update device state on main looper 2024-01-21 01:56:34 +01:00
org/bouncycastle/shaded Rename org.bouncycastle package 2023-11-25 21:16:53 +00:00
ru/gelin/android/weather/notification Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00