Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timob 14060: Parity: Making the app background on Android does not send ti.end event #4345

Merged
merged 6 commits into from Jun 3, 2013

Conversation

pingwang2011
Copy link
Contributor

@@ -37,7 +37,7 @@
private static final String TAG = "TitaniumAnalyticsEvent";

private static TimeZone utc = TimeZone.getTimeZone("UTC");
private static SimpleDateFormat isoDateFormatter =
public static SimpleDateFormat isoDateFormatter =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be public. It should be private and final.

@pingwang2011
Copy link
Contributor Author

Updated.

return;
}
} catch (ParseException e) {
Log.e(TAG, "Incorrect timestamp. Unable to send the ti.start event.", e);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't we return here instead of adding the event ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although this error should not happen, I still add this event to the DB and send it to the server. Then the server side can decide to use it or discard it.

@hieupham007
Copy link
Contributor

Code reviewed. Please address comments.

@srahim
Copy link
Contributor

srahim commented Jun 3, 2013

Functionally Tested and APPROVED

@hieupham007
Copy link
Contributor

Code reviewed. Request accepted

srahim added a commit that referenced this pull request Jun 3, 2013
Timob 14060: Parity: Making the app background on Android does not send ti.end event
@srahim srahim merged commit 02d3c13 into tidev:master Jun 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants