mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-29 11:10:35 +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:
@@ -156,8 +156,8 @@ public class BluetoothDebug extends BluetoothCommunication {
|
|||||||
logService(service, false);
|
logService(service, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
disconnect(false);
|
|
||||||
setBtStatus(BT_STATUS_CODE.BT_CONNECTION_LOST);
|
setBtStatus(BT_STATUS_CODE.BT_CONNECTION_LOST);
|
||||||
|
disconnect(false);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user