From 898e4e1abe2a7f9b3ccde2ed5291d3e417180c8f Mon Sep 17 00:00:00 2001 From: henrichg Date: Sat, 15 Jun 2024 20:51:29 +0200 Subject: [PATCH] Change: Applied patch #131, which fixes detection of mobile cells when is checked "Start when outside mobile cell". --- .../phoneprofilesplus/EventPreferencesMobileCells.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/phoneProfilesPlus/src/main/java/sk/henrichg/phoneprofilesplus/EventPreferencesMobileCells.java b/phoneProfilesPlus/src/main/java/sk/henrichg/phoneprofilesplus/EventPreferencesMobileCells.java index c26646d5f5..d3f0806c96 100644 --- a/phoneProfilesPlus/src/main/java/sk/henrichg/phoneprofilesplus/EventPreferencesMobileCells.java +++ b/phoneProfilesPlus/src/main/java/sk/henrichg/phoneprofilesplus/EventPreferencesMobileCells.java @@ -555,7 +555,8 @@ void doHandleEvent(EventsHandler eventsHandler, boolean forRestartEvents) { } } } else { - eventsHandler.mobileCellPassed = false; + //eventsHandler.mobileCellPassed = false; + eventsHandler.mobileCellPassed = _whenOutside; } cellIsValid = true; } @@ -594,7 +595,8 @@ void doHandleEvent(EventsHandler eventsHandler, boolean forRestartEvents) { } } } else { - eventsHandler.mobileCellPassed = false; + //eventsHandler.mobileCellPassed = false; + eventsHandler.mobileCellPassed = _whenOutside; } cellIsValid = true; } @@ -631,7 +633,8 @@ void doHandleEvent(EventsHandler eventsHandler, boolean forRestartEvents) { } } } else { - eventsHandler.mobileCellPassed = false; + //eventsHandler.mobileCellPassed = false; + eventsHandler.mobileCellPassed = _whenOutside; } cellIsValid = true; }