diff options
author | alexzatsepin <alexander.zatzepin@gmail.com> | 2016-11-02 14:31:37 +0300 |
---|---|---|
committer | Ilya Grechuhin <i.grechuhin@gmail.com> | 2016-11-11 11:05:57 +0300 |
commit | 6052665277412bb874d8b3aa54e64965d7c05698 (patch) | |
tree | ca7c8a76ad13f4f4c4cce093ff784c0a71f6cffa /tracking | |
parent | 4929469c9b9b04dfa11ccb3565f730376b871f50 (diff) |
[android] Fixed the reading statistics problem while sending the gps coords through socket
[android] Removed the redundant PlatformSocket interface for JNI performance reasons
Diffstat (limited to 'tracking')
-rw-r--r-- | tracking/reporter.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tracking/reporter.cpp b/tracking/reporter.cpp index 35b59c65ae..626b7f4388 100644 --- a/tracking/reporter.cpp +++ b/tracking/reporter.cpp @@ -18,17 +18,7 @@ size_t constexpr kRealTimeBufferSize = 60; namespace tracking { -// static -// Apple and Android applications use different keys for settings.ini. -// Keys saved for existing users, so can' fix it easy, need migration. -// Use this hack until change to special traffic key. -#if defined(OMIM_OS_IPHONE) const char Reporter::kEnableTrackingKey[] = "StatisticsEnabled"; -#elif defined(OMIM_OS_ANDROID) -const char Reporter::kEnableTrackingKey[] = "AllowStat"; -#else -const char Reporter::kEnableTrackingKey[] = "AllowStat"; -#endif // static milliseconds const Reporter::kPushDelayMs = milliseconds(10000); |