forked from organicmaps/organicmaps
[android] Fixed bug with parse id reporting.
This commit is contained in:
parent
cd5dcdc12a
commit
0d0a6e663f
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ public class MwmApplication extends android.app.Application implements ActiveCou
|
|||
|
||||
String newId = ParseInstallation.getCurrentInstallation().getInstallationId();
|
||||
String newToken = ParseInstallation.getCurrentInstallation().getString("deviceToken");
|
||||
if (previousId.equals(newId) || previousToken.equals(newToken))
|
||||
if (!previousId.equals(newId) || !previousToken.equals(newToken))
|
||||
{
|
||||
org.alohalytics.Statistics.logEvent(AlohaHelper.PARSE_INSTALLATION_ID, newId);
|
||||
org.alohalytics.Statistics.logEvent(AlohaHelper.PARSE_DEVICE_TOKEN, newToken);
|
||||
|
|
Loading…
Add table
Reference in a new issue