Skip to content

Commit

Permalink
## 4.5.1.10
Browse files Browse the repository at this point in the history
* Bug Fixes
  * Fix issue with chat message receipt while the overflow menu is open which causes the side pane no longer to function correctly.
  • Loading branch information
takdeveloper committed Oct 18, 2024
2 parents 7d42a1c + 94e275d commit b6e7260
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 18 deletions.
5 changes: 5 additions & 0 deletions VERSION.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Version History

## 4.5.1.10

* Bug Fixes
* Fix issue with chat message receipt while the overflow menu is open which causes the side pane no longer to function correctly.

## 4.5.1.9

* Bug Fixes
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 @@ -26,7 +26,7 @@ buildscript {
apply from: '../../gradle/versions.gradle', to: project

ext.ATAK_VERSION = "4.5.1"
ext.ATAK_VERSION_SUBMINOR = ".9"
ext.ATAK_VERSION_SUBMINOR = ".10"

ext.isDevKitEnabled = { ->
return getProperty('takRepoMavenUrl', null) != null &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import com.atakmap.android.ipc.AtakBroadcast.DocumentedIntentFilter;
import android.os.Bundle;

import com.atakmap.android.contact.Contact.UpdateStatus;
import com.atakmap.android.cot.CotMapComponent;
import com.atakmap.android.ipc.AtakBroadcast;
import com.atakmap.android.ipc.AtakBroadcast.DocumentedIntentFilter;
import com.atakmap.android.maps.MapEvent;
import com.atakmap.android.maps.MapEventDispatcher;
import com.atakmap.android.maps.MapItem;
Expand Down Expand Up @@ -487,8 +487,16 @@ private void setUnreadCount(String ref, int totalUnread) {
NavButtonModel mdl = NavButtonManager.getInstance()
.getModelByReference(ref);
if (mdl != null) {
mdl.setBadgeCount(totalUnread);
NavButtonManager.getInstance().notifyModelChanged(mdl);
MapView mapView = MapView.getMapView();
if (mapView != null) {
mapView.post(new Runnable() {
@Override
public void run() {
mdl.setBadgeCount(totalUnread);
NavButtonManager.getInstance().notifyModelChanged(mdl);
}
});
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import android.content.Context;
import android.content.Intent;

import androidx.annotation.NonNull;

import com.atakmap.android.navigation.models.NavButtonIntentAction;
import com.atakmap.android.navigation.models.NavButtonModel;
import com.atakmap.android.tools.menu.ActionBroadcastData;
Expand All @@ -20,7 +22,6 @@
import java.util.Map;
import java.util.concurrent.ConcurrentLinkedQueue;

import androidx.annotation.NonNull;
import transapps.maps.plugin.tool.Tool;

/**
Expand Down Expand Up @@ -247,7 +248,8 @@ public void removeModelListChangedListener(OnModelListChangedListener l) {
}

/**
* Notify listeners that a model has been modified
* Notify listeners that a model has been modified. Please ensure this is run on the UI
* thread.
* @param model Model that was modified
*/
public void notifyModelChanged(NavButtonModel model) {
Expand Down
4 changes: 2 additions & 2 deletions depends/LASzip-3.4.3-mod.tar.gz
Git LFS file not shown
4 changes: 2 additions & 2 deletions depends/assimp-4.0.1-mod.tar.gz
Git LFS file not shown
4 changes: 2 additions & 2 deletions depends/gdal-2.4.4-mod.tar.gz
Git LFS file not shown
4 changes: 2 additions & 2 deletions depends/libLAS-1.8.2-mod.tar.gz
Git LFS file not shown
4 changes: 2 additions & 2 deletions depends/tinygltf-2.4.1-mod.tar.gz
Git LFS file not shown
4 changes: 2 additions & 2 deletions depends/tinygltfloader-0.9.5-mod.tar.gz
Git LFS file not shown
Binary file modified pluginsdk.zip
Binary file not shown.

0 comments on commit b6e7260

Please sign in to comment.