diff --git a/gradle.properties b/gradle.properties index 2dbf40cf..ae7d3777 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -VERSION_NAME=6.2.2 +VERSION_NAME=6.2.3-SNAPSHOT POM_PACKAGING=aar GROUP=com.mixpanel.android diff --git a/src/main/java/com/mixpanel/android/mpmetrics/MixpanelAPI.java b/src/main/java/com/mixpanel/android/mpmetrics/MixpanelAPI.java index 3b68fde8..f9dc0c80 100644 --- a/src/main/java/com/mixpanel/android/mpmetrics/MixpanelAPI.java +++ b/src/main/java/com/mixpanel/android/mpmetrics/MixpanelAPI.java @@ -2157,11 +2157,10 @@ protected void track(String eventName, JSONObject properties, boolean isAutomati // Don't allow super properties or referral properties to override these fields, // but DO allow the caller to override them in their given properties. final double timeSecondsDouble = (System.currentTimeMillis()) / 1000.0; - final long timeSeconds = (long) timeSecondsDouble; final String distinctId = getDistinctId(); final String anonymousId = getAnonymousId(); final String userId = getUserId(); - messageProps.put("time", timeSeconds); + messageProps.put("time", System.currentTimeMillis()); messageProps.put("distinct_id", distinctId); messageProps.put("$had_persisted_distinct_id", mPersistentIdentity.getHadPersistedDistinctId()); if(anonymousId != null) {