1
0
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:
Andreas Shimokawa 2023-10-20 23:09:35 +02:00 committed by José Rebelo
parent 04434f4a55
commit 9e1a6ca76a

View File

@ -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);