1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-04 09:17:29 +01:00

fix initialization

This commit is contained in:
Andreas Shimokawa 2023-10-15 22:38:25 +02:00 committed by José Rebelo
parent cdef620700
commit 84dff5b8df

View File

@ -74,7 +74,7 @@ public class MiWatchLiteSupport extends XiaomiSupport {
.setSubtype(XiaomiAuthService.CMD_SEND_USERID) .setSubtype(XiaomiAuthService.CMD_SEND_USERID)
.setAuth(auth) .setAuth(auth)
.build(); .build();
sendCommand("send user id", command); sendCommand(builder, command);
builder.add(new SetDeviceStateAction(getDevice(), GBDevice.State.INITIALIZED, getContext())); builder.add(new SetDeviceStateAction(getDevice(), GBDevice.State.INITIALIZED, getContext()));