Skip to content

Commit

Permalink
MM-1182 - Fixed geo enabled status
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislavin committed Dec 1, 2016
1 parent 097b88a commit a52450c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,8 @@ public void activateGeofencing() {

void activateGeofencing(Geofencing geofencing) {
this.geofencing = geofencing;
setGeofencingActivated(context, geofencing != null);
if (geofencing == null) return;
setGeofencingActivated(context, true);
geofencing.activate();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public enum MobileMessagingProperty {
FINISHED_CAMPAIGN_IDS("org.infobip.mobile.messaging.infobip.FINISHED_CAMPAIGN_IDS", new String[0]),
SUSPENDED_CAMPAIGN_IDS("org.infobip.mobile.messaging.infobip.SUSPENDED_CAMPAIGN_IDS", new String[0]),

GEOFENCING_ACTIVATED("org.infobip.mobile.messaging.infobip.GEOFENCING_ACTIVATED", true),
GEOFENCING_ACTIVATED("org.infobip.mobile.messaging.infobip.GEOFENCING_ACTIVATED", false),

DISPLAY_NOTIFICATION_ENABLED("org.infobip.mobile.messaging.notification.DISPLAY_NOTIFICATION_ENABLED", true),
CALLBACK_ACTIVITY("org.infobip.mobile.messaging.notification.CALLBACK_ACTIVITY"),
Expand Down

0 comments on commit a52450c

Please sign in to comment.