Skip to content

Commit

Permalink
Remove unused print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Alonso committed Mar 10, 2020
1 parent cb6892a commit 4ca304d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,12 +218,10 @@ AnalyticsMessages getAnalyticsMessages() {
assertTrue(mCleanUpCalls.await(MAX_TIMEOUT_POLL, TimeUnit.MILLISECONDS));
for (int i = 0; i < 2; i++) {
String test = mStoredPeopleUpdates.poll(MAX_TIMEOUT_POLL, TimeUnit.MILLISECONDS);
Log.d("sergio", "STORED PEOPLE UPDATES POLL " + test);
assertNotNull(test);
}
String[] data = mMockAdapter.generateDataString(MPDbAdapter.Table.PEOPLE, TOKEN, true);
JSONArray pendingPeopleUpdatesArray = new JSONArray(data[1]);
Log.d("SERGIO", "Data is " + pendingPeopleUpdatesArray);
assertEquals(2, pendingPeopleUpdatesArray.length());
assertTrue(pendingPeopleUpdatesArray.getJSONObject(0).has("$delete")); // deleteUser
assertTrue(pendingPeopleUpdatesArray.getJSONObject(1).has("$unset")); // clearCharges
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,10 @@ private void setBrazePeopleProp() {
if (deviceId != null && !deviceId.isEmpty()) {
mMixpanel.alias(deviceId, mMixpanel.getDistinctId());
mMixpanel.getPeople().set("$braze_device_id", deviceId);
MPLog.e("SERGIO", "BRAZE IS " + deviceId);
}
if (externalUserId != null && !externalUserId.isEmpty()) {
mMixpanel.alias(externalUserId, mMixpanel.getDistinctId());
mMixpanel.getPeople().set("$braze_external_id", externalUserId);
MPLog.e("SERGIO", "BRAZE EXTERNAL IS " + externalUserId);
}
} catch (ClassNotFoundException e) {
MPLog.w(LOGTAG, "Braze SDK not found but Braze is integrated on Mixpanel", e);
Expand Down

0 comments on commit 4ca304d

Please sign in to comment.