Skip to content

Commit

Permalink
ATAK 4.1.1.8 (#30)
Browse files Browse the repository at this point in the history
## 4.1.1.8

* Handle potential `NullPointerException` on geofence dismiss
  • Loading branch information
takdeveloper authored Dec 11, 2020
1 parent cb585b8 commit 4963f1e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions VERSION.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Version History

## 4.1.1.8

* Handle potential `NullPointerException` on geofence dismiss

## 4.1.1.7

* fix KML export for content with more than one item with `null` name
Expand Down
2 changes: 1 addition & 1 deletion atak/ATAK/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import java.util.regex.Pattern
////////////////////////////////////////////////////////////////////////////////

def ATAK_VERSION = "4.1.1"
def ATAK_VERSION_SUBMINOR = ".7"
def ATAK_VERSION_SUBMINOR = ".8"

buildscript {
ext.jacocoVersion = '0.8.5'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ public synchronized boolean dismiss(GeoFenceMonitor monitor,
public synchronized boolean dismiss(GeoFenceMonitor monitor,
Alert alert, boolean bStopMonitoring) {
List<Alert> items = _ongoingAlerts.get(monitor);
if (alert == null || !items.remove(alert)) {
if (FileSystemUtils.isEmpty(items) || alert == null || !items.remove(alert)) {
Log.w(TAG, "Unable to dismiss alert: " + alert
+ " for fence: " + monitor.toString());
return false;
Expand Down

0 comments on commit 4963f1e

Please sign in to comment.