Resetting alertOn flag in Proximity after disconnection

This commit is contained in:
Aleksander Nowakowski
2016-10-18 16:44:11 +02:00
parent 3cd8180f13
commit d7e980953f

View File

@@ -100,6 +100,8 @@ public class ProximityManager extends BleManager<ProximityManagerCallbacks> {
protected void onDeviceDisconnected() {
mAlertLevelCharacteristic = null;
mLinklossCharacteristic = null;
// Reset the alert flag
mAlertOn = false;
}
@Override