mirror of
https://github.com/aljazceru/Android-nRF-Toolbox.git
synced 2025-12-22 08:54:21 +01:00
Resetting alertOn flag in Proximity after disconnection
This commit is contained in:
@@ -100,6 +100,8 @@ public class ProximityManager extends BleManager<ProximityManagerCallbacks> {
|
|||||||
protected void onDeviceDisconnected() {
|
protected void onDeviceDisconnected() {
|
||||||
mAlertLevelCharacteristic = null;
|
mAlertLevelCharacteristic = null;
|
||||||
mLinklossCharacteristic = null;
|
mLinklossCharacteristic = null;
|
||||||
|
// Reset the alert flag
|
||||||
|
mAlertOn = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user