File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Adjust/adjust/src/main/java/com/adjust/sdk Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1184,16 +1184,24 @@ private void setEnabledI(boolean enabled) {
11841184 if (enabled ) {
11851185 SharedPreferencesManager sharedPreferencesManager = new SharedPreferencesManager (getContext ());
11861186
1187+ // check if install was tracked
11871188 if (!sharedPreferencesManager .getInstallTracked ()) {
11881189 long now = System .currentTimeMillis ();
11891190 trackNewSessionI (now );
11901191 }
11911192
1193+ // check if there is a saved push token to send
11921194 String pushToken = sharedPreferencesManager .getPushToken ();
11931195
11941196 if (pushToken != null && !pushToken .equals (activityState .pushToken )) {
11951197 setPushToken (pushToken , true );
11961198 }
1199+
1200+ // check if there are token to send
1201+ Object referrers = sharedPreferencesManager .getRawReferrerArray ();
1202+ if (referrers != null ) {
1203+ sendReftagReferrer ();
1204+ }
11971205 }
11981206
11991207 activityState .enabled = enabled ;
You can’t perform that action at this time.
0 commit comments