mirror of
https://github.com/aljazceru/Android-nRF-Toolbox.git
synced 2025-12-23 17:34:28 +01:00
Bugs fixed: setting new logger for new connection
This commit is contained in:
@@ -152,6 +152,8 @@ public abstract class BleMulticonnectProfileService extends Service implements B
|
||||
|
||||
BleManager<BleManagerCallbacks> manager = mBleManagers.get(device);
|
||||
if (manager != null) {
|
||||
if (session != null)
|
||||
manager.setLogger(session);
|
||||
manager.connect(device);
|
||||
} else {
|
||||
mBleManagers.put(device, manager = initializeManager());
|
||||
|
||||
Reference in New Issue
Block a user