{"action":"created","comment":{"url":"https://api.github.com/repos/mapsme/omim/pulls/comments/67126000","id":67126000,"diff_hunk":"@@ -77,6 +77,17 @@ void Framework::OnLocationError(int errorCode)\n void Framework::OnLocationUpdated(location::GpsInfo const & info)\n {\n   m_work.OnLocationUpdate(info);\n+\n+  if (!IsDrapeEngineCreated())\n+  {\n+    location::EMyPositionMode const mode = GetMyPositionMode();\n+    if (mode == location::PendingPosition)\n+    {\n+      m_currentMode = location::Follow;","path":"android/jni/com/mapswithme/maps/Framework.cpp","position":10,"original_position":10,"commit_id":"379e996778e33a7e75afccd3582fa221af9e87c5","original_commit_id":"379e996778e33a7e75afccd3582fa221af9e87c5","user":{"login":"trashkalmar","id":5173794,"avatar_url":"https://avatars.githubusercontent.com/u/5173794?v=3","gravatar_id":"","url":"https://api.github.com/users/trashkalmar","html_url":"https://github.com/trashkalmar","followers_url":"https://api.github.com/users/trashkalmar/followers","following_url":"https://api.github.com/users/trashkalmar/following{/other_user}","gists_url":"https://api.github.com/users/trashkalmar/gists{/gist_id}","starred_url":"https://api.github.com/users/trashkalmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trashkalmar/subscriptions","organizations_url":"https://api.github.com/users/trashkalmar/orgs","repos_url":"https://api.github.com/users/trashkalmar/repos","events_url":"https://api.github.com/users/trashkalmar/events{/privacy}","received_events_url":"https://api.github.com/users/trashkalmar/received_events","type":"User","site_admin":false},"body":"Можно","created_at":"2016-06-15T09:13:54Z","updated_at":"2016-06-15T09:13:54Z","html_url":"https://github.com/mapsme/omim/pull/3552#discussion_r67126000","pull_request_url":"https://api.github.com/repos/mapsme/omim/pulls/3552","_links":{"self":{"href":"https://api.github.com/repos/mapsme/omim/pulls/comments/67126000"},"html":{"href":"https://github.com/mapsme/omim/pull/3552#discussion_r67126000"},"pull_request":{"href":"https://api.github.com/repos/mapsme/omim/pulls/3552"}}},"pull_request":{"url":"https://api.github.com/repos/mapsme/omim/pulls/3552","id":73718885,"html_url":"https://github.com/mapsme/omim/pull/3552","diff_url":"https://github.com/mapsme/omim/pull/3552.diff","patch_url":"https://github.com/mapsme/omim/pull/3552.patch","issue_url":"https://api.github.com/repos/mapsme/omim/issues/3552","number":3552,"state":"open","locked":false,"title":"[android][locator] Locator refactoring.","user":{"login":"trashkalmar","id":5173794,"avatar_url":"https://avatars.githubusercontent.com/u/5173794?v=3","gravatar_id":"","url":"https://api.github.com/users/trashkalmar","html_url":"https://github.com/trashkalmar","followers_url":"https://api.github.com/users/trashkalmar/followers","following_url":"https://api.github.com/users/trashkalmar/following{/other_user}","gists_url":"https://api.github.com/users/trashkalmar/gists{/gist_id}","starred_url":"https://api.github.com/users/trashkalmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trashkalmar/subscriptions","organizations_url":"https://api.github.com/users/trashkalmar/orgs","repos_url":"https://api.github.com/users/trashkalmar/repos","events_url":"https://api.github.com/users/trashkalmar/events{/privacy}","received_events_url":"https://api.github.com/users/trashkalmar/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-14T10:55:13Z","updated_at":"2016-06-15T09:13:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"36bc78bc73f282708795e762fb84c9998818784c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mapsme/omim/pulls/3552/commits","review_comments_url":"https://api.github.com/repos/mapsme/omim/pulls/3552/comments","review_comment_url":"https://api.github.com/repos/mapsme/omim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapsme/omim/issues/3552/comments","statuses_url":"https://api.github.com/repos/mapsme/omim/statuses/379e996778e33a7e75afccd3582fa221af9e87c5","head":{"label":"trashkalmar:locator-refactoring","ref":"locator-refactoring","sha":"379e996778e33a7e75afccd3582fa221af9e87c5","user":{"login":"trashkalmar","id":5173794,"avatar_url":"https://avatars.githubusercontent.com/u/5173794?v=3","gravatar_id":"","url":"https://api.github.com/users/trashkalmar","html_url":"https://github.com/trashkalmar","followers_url":"https://api.github.com/users/trashkalmar/followers","following_url":"https://api.github.com/users/trashkalmar/following{/other_user}","gists_url":"https://api.github.com/users/trashkalmar/gists{/gist_id}","starred_url":"https://api.github.com/users/trashkalmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trashkalmar/subscriptions","organizations_url":"https://api.github.com/users/trashkalmar/orgs","repos_url":"https://api.github.com/users/trashkalmar/repos","events_url":"https://api.github.com/users/trashkalmar/events{/privacy}","received_events_url":"https://api.github.com/users/trashkalmar/received_events","type":"User","site_admin":false},"repo":{"id":43429123,"name":"omim","full_name":"trashkalmar/omim","owner":{"login":"trashkalmar","id":5173794,"avatar_url":"https://avatars.githubusercontent.com/u/5173794?v=3","gravatar_id":"","url":"https://api.github.com/users/trashkalmar","html_url":"https://github.com/trashkalmar","followers_url":"https://api.github.com/users/trashkalmar/followers","following_url":"https://api.github.com/users/trashkalmar/following{/other_user}","gists_url":"https://api.github.com/users/trashkalmar/gists{/gist_id}","starred_url":"https://api.github.com/users/trashkalmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trashkalmar/subscriptions","organizations_url":"https://api.github.com/users/trashkalmar/orgs","repos_url":"https://api.github.com/users/trashkalmar/repos","events_url":"https://api.github.com/users/trashkalmar/events{/privacy}","received_events_url":"https://api.github.com/users/trashkalmar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/trashkalmar/omim","description":"MAPS.ME - Offline OpenStreetMap maps for iOS/Android/Mac/Linux/Windows","fork":true,"url":"https://api.github.com/repos/trashkalmar/omim","forks_url":"https://api.github.com/repos/trashkalmar/omim/forks","keys_url":"https://api.github.com/repos/trashkalmar/omim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trashkalmar/omim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trashkalmar/omim/teams","hooks_url":"https://api.github.com/repos/trashkalmar/omim/hooks","issue_events_url":"https://api.github.com/repos/trashkalmar/omim/issues/events{/number}","events_url":"https://api.github.com/repos/trashkalmar/omim/events","assignees_url":"https://api.github.com/repos/trashkalmar/omim/assignees{/user}","branches_url":"https://api.github.com/repos/trashkalmar/omim/branches{/branch}","tags_url":"https://api.github.com/repos/trashkalmar/omim/tags","blobs_url":"https://api.github.com/repos/trashkalmar/omim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trashkalmar/omim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trashkalmar/omim/git/refs{/sha}","trees_url":"https://api.github.com/repos/trashkalmar/omim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trashkalmar/omim/statuses/{sha}","languages_url":"https://api.github.com/repos/trashkalmar/omim/languages","stargazers_url":"https://api.github.com/repos/trashkalmar/omim/stargazers","contributors_url":"https://api.github.com/repos/trashkalmar/omim/contributors","subscribers_url":"https://api.github.com/repos/trashkalmar/omim/subscribers","subscription_url":"https://api.github.com/repos/trashkalmar/omim/subscription","commits_url":"https://api.github.com/repos/trashkalmar/omim/commits{/sha}","git_commits_url":"https://api.github.com/repos/trashkalmar/omim/git/commits{/sha}","comments_url":"https://api.github.com/repos/trashkalmar/omim/comments{/number}","issue_comment_url":"https://api.github.com/repos/trashkalmar/omim/issues/comments{/number}","contents_url":"https://api.github.com/repos/trashkalmar/omim/contents/{+path}","compare_url":"https://api.github.com/repos/trashkalmar/omim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trashkalmar/omim/merges","archive_url":"https://api.github.com/repos/trashkalmar/omim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trashkalmar/omim/downloads","issues_url":"https://api.github.com/repos/trashkalmar/omim/issues{/number}","pulls_url":"https://api.github.com/repos/trashkalmar/omim/pulls{/number}","milestones_url":"https://api.github.com/repos/trashkalmar/omim/milestones{/number}","notifications_url":"https://api.github.com/repos/trashkalmar/omim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trashkalmar/omim/labels{/name}","releases_url":"https://api.github.com/repos/trashkalmar/omim/releases{/id}","deployments_url":"https://api.github.com/repos/trashkalmar/omim/deployments","created_at":"2015-09-30T11:28:06Z","updated_at":"2016-01-14T16:18:44Z","pushed_at":"2016-06-14T16:10:00Z","git_url":"git://github.com/trashkalmar/omim.git","ssh_url":"git@github.com:trashkalmar/omim.git","clone_url":"https://github.com/trashkalmar/omim.git","svn_url":"https://github.com/trashkalmar/omim","homepage":null,"size":2457629,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mapsme:master","ref":"master","sha":"113c9b78e47c5c00613ad42874393dd1bca9af2a","user":{"login":"mapsme","id":14185141,"avatar_url":"https://avatars.githubusercontent.com/u/14185141?v=3","gravatar_id":"","url":"https://api.github.com/users/mapsme","html_url":"https://github.com/mapsme","followers_url":"https://api.github.com/users/mapsme/followers","following_url":"https://api.github.com/users/mapsme/following{/other_user}","gists_url":"https://api.github.com/users/mapsme/gists{/gist_id}","starred_url":"https://api.github.com/users/mapsme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapsme/subscriptions","organizations_url":"https://api.github.com/users/mapsme/orgs","repos_url":"https://api.github.com/users/mapsme/repos","events_url":"https://api.github.com/users/mapsme/events{/privacy}","received_events_url":"https://api.github.com/users/mapsme/received_events","type":"Organization","site_admin":false},"repo":{"id":42798033,"name":"omim","full_name":"mapsme/omim","owner":{"login":"mapsme","id":14185141,"avatar_url":"https://avatars.githubusercontent.com/u/14185141?v=3","gravatar_id":"","url":"https://api.github.com/users/mapsme","html_url":"https://github.com/mapsme","followers_url":"https://api.github.com/users/mapsme/followers","following_url":"https://api.github.com/users/mapsme/following{/other_user}","gists_url":"https://api.github.com/users/mapsme/gists{/gist_id}","starred_url":"https://api.github.com/users/mapsme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapsme/subscriptions","organizations_url":"https://api.github.com/users/mapsme/orgs","repos_url":"https://api.github.com/users/mapsme/repos","events_url":"https://api.github.com/users/mapsme/events{/privacy}","received_events_url":"https://api.github.com/users/mapsme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapsme/omim","description":"MAPS.ME - Offline OpenStreetMap maps for iOS/Android/Mac/Linux/Windows","fork":false,"url":"https://api.github.com/repos/mapsme/omim","forks_url":"https://api.github.com/repos/mapsme/omim/forks","keys_url":"https://api.github.com/repos/mapsme/omim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapsme/omim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapsme/omim/teams","hooks_url":"https://api.github.com/repos/mapsme/omim/hooks","issue_events_url":"https://api.github.com/repos/mapsme/omim/issues/events{/number}","events_url":"https://api.github.com/repos/mapsme/omim/events","assignees_url":"https://api.github.com/repos/mapsme/omim/assignees{/user}","branches_url":"https://api.github.com/repos/mapsme/omim/branches{/branch}","tags_url":"https://api.github.com/repos/mapsme/omim/tags","blobs_url":"https://api.github.com/repos/mapsme/omim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapsme/omim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapsme/omim/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapsme/omim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapsme/omim/statuses/{sha}","languages_url":"https://api.github.com/repos/mapsme/omim/languages","stargazers_url":"https://api.github.com/repos/mapsme/omim/stargazers","contributors_url":"https://api.github.com/repos/mapsme/omim/contributors","subscribers_url":"https://api.github.com/repos/mapsme/omim/subscribers","subscription_url":"https://api.github.com/repos/mapsme/omim/subscription","commits_url":"https://api.github.com/repos/mapsme/omim/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapsme/omim/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapsme/omim/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapsme/omim/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapsme/omim/contents/{+path}","compare_url":"https://api.github.com/repos/mapsme/omim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapsme/omim/merges","archive_url":"https://api.github.com/repos/mapsme/omim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapsme/omim/downloads","issues_url":"https://api.github.com/repos/mapsme/omim/issues{/number}","pulls_url":"https://api.github.com/repos/mapsme/omim/pulls{/number}","milestones_url":"https://api.github.com/repos/mapsme/omim/milestones{/number}","notifications_url":"https://api.github.com/repos/mapsme/omim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapsme/omim/labels{/name}","releases_url":"https://api.github.com/repos/mapsme/omim/releases{/id}","deployments_url":"https://api.github.com/repos/mapsme/omim/deployments","created_at":"2015-09-20T02:57:13Z","updated_at":"2016-06-14T14:55:10Z","pushed_at":"2016-06-15T08:43:20Z","git_url":"git://github.com/mapsme/omim.git","ssh_url":"git@github.com:mapsme/omim.git","clone_url":"https://github.com/mapsme/omim.git","svn_url":"https://github.com/mapsme/omim","homepage":null,"size":2579849,"stargazers_count":1809,"watchers_count":1809,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":289,"mirror_url":null,"open_issues_count":212,"forks":289,"open_issues":212,"watchers":1809,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapsme/omim/pulls/3552"},"html":{"href":"https://github.com/mapsme/omim/pull/3552"},"issue":{"href":"https://api.github.com/repos/mapsme/omim/issues/3552"},"comments":{"href":"https://api.github.com/repos/mapsme/omim/issues/3552/comments"},"review_comments":{"href":"https://api.github.com/repos/mapsme/omim/pulls/3552/comments"},"review_comment":{"href":"https://api.github.com/repos/mapsme/omim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapsme/omim/pulls/3552/commits"},"statuses":{"href":"https://api.github.com/repos/mapsme/omim/statuses/379e996778e33a7e75afccd3582fa221af9e87c5"}}}}
{"actor":{"display_login":"trashkalmar"}}