Skip to content

Commit 022f9a9

Browse files
committed
Updated logic for re-enabling tracking
1 parent 96ceefe commit 022f9a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Branch-SDK/src/main/java/io/branch/referral/Branch.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2603,7 +2603,7 @@ public void setConsumerProtectionAttributionLevel(Defines.BranchAttributionLevel
26032603
if (level == Defines.BranchAttributionLevel.NONE) {
26042604
trackingController.disableTracking(context_, true, null);
26052605
} else {
2606-
if (initState_ != SESSION_STATE.INITIALISED) {
2606+
if (trackingController.isTrackingDisabled()) {
26072607
trackingController.disableTracking(context_, false, null);
26082608
}
26092609
}

0 commit comments

Comments
 (0)