Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
ec6c03e909
2 changed files with 6 additions and 9 deletions
|
@ -158,13 +158,10 @@ public class NotificationHelper {
|
||||||
if(newNotification != null) {
|
if(newNotification != null) {
|
||||||
mNotificationManager.notify(NOTIFICATION_SERVICE_ID, newNotification.build());
|
mNotificationManager.notify(NOTIFICATION_SERVICE_ID, newNotification.build());
|
||||||
}
|
}
|
||||||
// if (stopBroadcastReceiver != null) {
|
}
|
||||||
// app.unregisterReceiver(stopBroadcastReceiver);
|
|
||||||
// stopBroadcastReceiver = null;
|
public void removeServiceNotificationCompletely() {
|
||||||
// }
|
NotificationManager mNotificationManager = (NotificationManager) app.getSystemService(Context.NOTIFICATION_SERVICE);
|
||||||
// if (saveBroadcastReceiver != null) {
|
mNotificationManager.cancel( NOTIFICATION_SERVICE_ID);
|
||||||
// app.unregisterReceiver(saveBroadcastReceiver);
|
|
||||||
// saveBroadcastReceiver = null;
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -672,7 +672,7 @@ public class MapActivity extends AccessibleActivity {
|
||||||
mapViewTrackingUtilities.setMapView(null);
|
mapViewTrackingUtilities.setMapView(null);
|
||||||
cancelNotification();
|
cancelNotification();
|
||||||
if(getMyApplication().getNavigationService() == null) {
|
if(getMyApplication().getNavigationService() == null) {
|
||||||
getMyApplication().getNotificationHelper().removeServiceNotification();
|
getMyApplication().getNotificationHelper().removeServiceNotificationCompletely();
|
||||||
}
|
}
|
||||||
app.getResourceManager().getMapTileDownloader().removeDownloaderCallback(mapView);
|
app.getResourceManager().getMapTileDownloader().removeDownloaderCallback(mapView);
|
||||||
if (atlasMapRendererView != null) {
|
if (atlasMapRendererView != null) {
|
||||||
|
|
Loading…
Reference in a new issue