1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-28 18:49:56 +02:00

Make extended info (debug mode) dialog disappear

The callback handler is removed when disconnecting, so the state must
be set first.
This commit is contained in:
Erik Johansson
2018-07-05 00:02:31 +02:00
parent 40cc290dc6
commit baa29e7b86

View File

@@ -156,8 +156,8 @@ public class BluetoothDebug extends BluetoothCommunication {
logService(service, false);
}
disconnect(false);
setBtStatus(BT_STATUS_CODE.BT_CONNECTION_LOST);
disconnect(false);
return false;
}