Skip to content

Commit

Permalink
Code cleanup refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtruong committed Jun 30, 2016
1 parent 98d24c2 commit abe22b6
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,7 @@ public static IterableApi sharedInstanceWithApiKey(Context currentContext, Strin

if (currentContext instanceof Activity) {
Activity currentActivity = (Activity) currentContext;
Intent calledIntent = currentActivity.getIntent();
if (isIterableIntent(calledIntent)) {
sharedInstance.setPayloadData(calledIntent);
sharedInstance.tryTrackNotifOpen(calledIntent);
}
onNewIntent(currentActivity.getIntent());
} else {
IterableLogger.w(TAG, "Notification Opens will not be tracked: "+
"sharedInstanceWithApiKey called with a Context that is not an instance of Activity. " +
Expand Down

0 comments on commit abe22b6

Please sign in to comment.