mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-04 17:27:24 +01:00
Xiaomi: change order of enabling notifications
This commit is contained in:
parent
04434f4a55
commit
9e1a6ca76a
@ -135,8 +135,8 @@ public abstract class XiaomiSupport extends AbstractBTLEDeviceSupport {
|
|||||||
|
|
||||||
builder.add(new SetDeviceStateAction(getDevice(), GBDevice.State.INITIALIZING, getContext()));
|
builder.add(new SetDeviceStateAction(getDevice(), GBDevice.State.INITIALIZING, getContext()));
|
||||||
|
|
||||||
builder.notify(btCharacteristicCommandRead, true);
|
|
||||||
builder.notify(btCharacteristicCommandWrite, true);
|
builder.notify(btCharacteristicCommandWrite, true);
|
||||||
|
builder.notify(btCharacteristicCommandRead, true);
|
||||||
builder.notify(btCharacteristicActivityData, true);
|
builder.notify(btCharacteristicActivityData, true);
|
||||||
builder.notify(btCharacteristicDataUpload, true);
|
builder.notify(btCharacteristicDataUpload, true);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user