{"action":"created","comment":{"url":"https://api.github.com/repos/mapsme/omim/pulls/comments/79649552","id":79649552,"diff_hunk":"@@ -215,10 +221,15 @@ static void log(String message)\n     synchronized (TrackRecorder.class)\n     {\n       if (sLogger == null)\n-        sLogger = new FileLogger(\"/sdcard/MapsWithMe/gps-tracker.log\");\n+      {\n+        String externalDir = StorageUtils.getExternalFilesDir(MwmApplication.get().getApplicationContext());\n+        if (!TextUtils.isEmpty(externalDir))\n+          sLogger = new FileLogger(externalDir + \"/gps-tracker.log\");","path":"android/src/com/mapswithme/maps/location/TrackRecorder.java","position":42,"original_position":42,"commit_id":"369fee36dbb8e93bc5c8819b37d3c1f5866a7b34","original_commit_id":"4157ef2d20685f579ba6a53a82cb9428cbf50082","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-09-20T16:10:19Z","updated_at":"2016-09-20T16:10:54Z","html_url":"https://github.com/mapsme/omim/pull/4322#discussion_r79649552","pull_request_url":"https://api.github.com/repos/mapsme/omim/pulls/4322","_links":{"self":{"href":"https://api.github.com/repos/mapsme/omim/pulls/comments/79649552"},"html":{"href":"https://github.com/mapsme/omim/pull/4322#discussion_r79649552"},"pull_request":{"href":"https://api.github.com/repos/mapsme/omim/pulls/4322"}}},"pull_request":{"url":"https://api.github.com/repos/mapsme/omim/pulls/4322","id":85937062,"html_url":"https://github.com/mapsme/omim/pull/4322","diff_url":"https://github.com/mapsme/omim/pull/4322.diff","patch_url":"https://github.com/mapsme/omim/pull/4322.patch","issue_url":"https://api.github.com/repos/mapsme/omim/issues/4322","number":4322,"state":"open","locked":false,"title":"Removing the hard coded path for gps-tracker.log file.","user":{"login":"alexzatsepin","id":8442156,"avatar_url":"https://avatars.githubusercontent.com/u/8442156?v=3","gravatar_id":"","url":"https://api.github.com/users/alexzatsepin","html_url":"https://github.com/alexzatsepin","followers_url":"https://api.github.com/users/alexzatsepin/followers","following_url":"https://api.github.com/users/alexzatsepin/following{/other_user}","gists_url":"https://api.github.com/users/alexzatsepin/gists{/gist_id}","starred_url":"https://api.github.com/users/alexzatsepin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexzatsepin/subscriptions","organizations_url":"https://api.github.com/users/alexzatsepin/orgs","repos_url":"https://api.github.com/users/alexzatsepin/repos","events_url":"https://api.github.com/users/alexzatsepin/events{/privacy}","received_events_url":"https://api.github.com/users/alexzatsepin/received_events","type":"User","site_admin":false},"body":"Signed-off-by: FILLAU Jean-Maxime <jean-maxime.fillau@mapotempo.com>\r\n@trashkalmar @yunikkk @bykoianko PTAL","created_at":"2016-09-20T09:09:31Z","updated_at":"2016-09-20T16:10:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7a88c718da448438b0fd8895141a4ab94062ccc9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mapsme/omim/pulls/4322/commits","review_comments_url":"https://api.github.com/repos/mapsme/omim/pulls/4322/comments","review_comment_url":"https://api.github.com/repos/mapsme/omim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapsme/omim/issues/4322/comments","statuses_url":"https://api.github.com/repos/mapsme/omim/statuses/369fee36dbb8e93bc5c8819b37d3c1f5866a7b34","head":{"label":"alexzatsepin:release-64","ref":"release-64","sha":"369fee36dbb8e93bc5c8819b37d3c1f5866a7b34","user":{"login":"alexzatsepin","id":8442156,"avatar_url":"https://avatars.githubusercontent.com/u/8442156?v=3","gravatar_id":"","url":"https://api.github.com/users/alexzatsepin","html_url":"https://github.com/alexzatsepin","followers_url":"https://api.github.com/users/alexzatsepin/followers","following_url":"https://api.github.com/users/alexzatsepin/following{/other_user}","gists_url":"https://api.github.com/users/alexzatsepin/gists{/gist_id}","starred_url":"https://api.github.com/users/alexzatsepin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexzatsepin/subscriptions","organizations_url":"https://api.github.com/users/alexzatsepin/orgs","repos_url":"https://api.github.com/users/alexzatsepin/repos","events_url":"https://api.github.com/users/alexzatsepin/events{/privacy}","received_events_url":"https://api.github.com/users/alexzatsepin/received_events","type":"User","site_admin":false},"repo":{"id":67988467,"name":"omim","full_name":"alexzatsepin/omim","owner":{"login":"alexzatsepin","id":8442156,"avatar_url":"https://avatars.githubusercontent.com/u/8442156?v=3","gravatar_id":"","url":"https://api.github.com/users/alexzatsepin","html_url":"https://github.com/alexzatsepin","followers_url":"https://api.github.com/users/alexzatsepin/followers","following_url":"https://api.github.com/users/alexzatsepin/following{/other_user}","gists_url":"https://api.github.com/users/alexzatsepin/gists{/gist_id}","starred_url":"https://api.github.com/users/alexzatsepin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexzatsepin/subscriptions","organizations_url":"https://api.github.com/users/alexzatsepin/orgs","repos_url":"https://api.github.com/users/alexzatsepin/repos","events_url":"https://api.github.com/users/alexzatsepin/events{/privacy}","received_events_url":"https://api.github.com/users/alexzatsepin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexzatsepin/omim","description":"MAPS.ME - Offline OpenStreetMap maps for iOS/Android/Mac/Linux/Windows","fork":true,"url":"https://api.github.com/repos/alexzatsepin/omim","forks_url":"https://api.github.com/repos/alexzatsepin/omim/forks","keys_url":"https://api.github.com/repos/alexzatsepin/omim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexzatsepin/omim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexzatsepin/omim/teams","hooks_url":"https://api.github.com/repos/alexzatsepin/omim/hooks","issue_events_url":"https://api.github.com/repos/alexzatsepin/omim/issues/events{/number}","events_url":"https://api.github.com/repos/alexzatsepin/omim/events","assignees_url":"https://api.github.com/repos/alexzatsepin/omim/assignees{/user}","branches_url":"https://api.github.com/repos/alexzatsepin/omim/branches{/branch}","tags_url":"https://api.github.com/repos/alexzatsepin/omim/tags","blobs_url":"https://api.github.com/repos/alexzatsepin/omim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexzatsepin/omim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexzatsepin/omim/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexzatsepin/omim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexzatsepin/omim/statuses/{sha}","languages_url":"https://api.github.com/repos/alexzatsepin/omim/languages","stargazers_url":"https://api.github.com/repos/alexzatsepin/omim/stargazers","contributors_url":"https://api.github.com/repos/alexzatsepin/omim/contributors","subscribers_url":"https://api.github.com/repos/alexzatsepin/omim/subscribers","subscription_url":"https://api.github.com/repos/alexzatsepin/omim/subscription","commits_url":"https://api.github.com/repos/alexzatsepin/omim/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexzatsepin/omim/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexzatsepin/omim/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexzatsepin/omim/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexzatsepin/omim/contents/{+path}","compare_url":"https://api.github.com/repos/alexzatsepin/omim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexzatsepin/omim/merges","archive_url":"https://api.github.com/repos/alexzatsepin/omim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexzatsepin/omim/downloads","issues_url":"https://api.github.com/repos/alexzatsepin/omim/issues{/number}","pulls_url":"https://api.github.com/repos/alexzatsepin/omim/pulls{/number}","milestones_url":"https://api.github.com/repos/alexzatsepin/omim/milestones{/number}","notifications_url":"https://api.github.com/repos/alexzatsepin/omim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexzatsepin/omim/labels{/name}","releases_url":"https://api.github.com/repos/alexzatsepin/omim/releases{/id}","deployments_url":"https://api.github.com/repos/alexzatsepin/omim/deployments","created_at":"2016-09-12T07:57:50Z","updated_at":"2016-09-12T07:59:26Z","pushed_at":"2016-09-20T14:38:14Z","git_url":"git://github.com/alexzatsepin/omim.git","ssh_url":"git@github.com:alexzatsepin/omim.git","clone_url":"https://github.com/alexzatsepin/omim.git","svn_url":"https://github.com/alexzatsepin/omim","homepage":null,"size":2712786,"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:release-64","ref":"release-64","sha":"c5291d2bae0086395c9ff5d550308ba0e2f8186f","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-09-17T15:20:25Z","pushed_at":"2016-09-20T16:02:37Z","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":2775217,"stargazers_count":1976,"watchers_count":1976,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":355,"mirror_url":null,"open_issues_count":316,"forks":355,"open_issues":316,"watchers":1976,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapsme/omim/pulls/4322"},"html":{"href":"https://github.com/mapsme/omim/pull/4322"},"issue":{"href":"https://api.github.com/repos/mapsme/omim/issues/4322"},"comments":{"href":"https://api.github.com/repos/mapsme/omim/issues/4322/comments"},"review_comments":{"href":"https://api.github.com/repos/mapsme/omim/pulls/4322/comments"},"review_comment":{"href":"https://api.github.com/repos/mapsme/omim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapsme/omim/pulls/4322/commits"},"statuses":{"href":"https://api.github.com/repos/mapsme/omim/statuses/369fee36dbb8e93bc5c8819b37d3c1f5866a7b34"}}}}
{"actor":{"display_login":"trashkalmar"}}