Skip to content

Commit ad6bd21

Browse files
authored
Merge pull request #429 from Countly/fix_contetns
fix: minor fix for if
2 parents 72ac899 + ba97a94 commit ad6bd21

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sdk/src/main/java/ly/count/android/sdk/TransparentActivity.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,9 @@ private void eventAction(Map<String, Object> query) {
293293

294294
if (sgJson != null) {
295295
segmentationJson = sgJson;
296-
} else if (segmentationJson == null) {
296+
}
297+
298+
if (segmentationJson == null) {
297299
Log.w(Countly.TAG, "[TransparentActivity] eventAction, event JSON is missing segmentation data event: [" + eventJson + "]");
298300
continue;
299301
}

0 commit comments

Comments
 (0)