{"action":"created","comment":{"url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/pulls/comments/91192820","pull_request_review_id":11702830,"id":91192820,"diff_hunk":"@@ -289,28 +291,37 @@ private void setupMapType(int mapType) {\n      */\n     private void setUpMapIfNeeded() {\n \n+        mMap.getOverlayManager().clear();\n         // Check if we were successful in obtaining the map.\n         mMap.setBuiltInZoomControls(true);\n         mMap.setMultiTouchControls(true);\n         mMap.setMinZoomLevel(3);\n         mMap.setMaxZoomLevel(19); // Latest OSM can go to 21!\n         mMap.getTileProvider().createTileCache();\n-        mCompassOverlay = new CompassOverlay(getActivity(), new InternalCompassOrientationProvider(getActivity()), mMap);\n+\n+        if (null == mCompassOverlay) {","path":"AIMSICD/src/main/java/com/secupwn/aimsicd/ui/fragments/MapFragment.java","position":null,"original_position":38,"commit_id":"c54e008674fea4a754d9d35addb730b1e80630f8","original_commit_id":"67046e6dc6de2dfa59236fcbfa72003fb51cafb7","user":{"login":"rm-star","id":5438918,"avatar_url":"https://avatars.githubusercontent.com/u/5438918?v=3","gravatar_id":"","url":"https://api.github.com/users/rm-star","html_url":"https://github.com/rm-star","followers_url":"https://api.github.com/users/rm-star/followers","following_url":"https://api.github.com/users/rm-star/following{/other_user}","gists_url":"https://api.github.com/users/rm-star/gists{/gist_id}","starred_url":"https://api.github.com/users/rm-star/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rm-star/subscriptions","organizations_url":"https://api.github.com/users/rm-star/orgs","repos_url":"https://api.github.com/users/rm-star/repos","events_url":"https://api.github.com/users/rm-star/events{/privacy}","received_events_url":"https://api.github.com/users/rm-star/received_events","type":"User","site_admin":false},"body":"Fixed MapViewerOsmDroid.java as well\r\n","created_at":"2016-12-06T23:02:48Z","updated_at":"2016-12-06T23:02:48Z","html_url":"https://github.com/CellularPrivacy/Android-IMSI-Catcher-Detector/pull/906#discussion_r91192820","pull_request_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/pulls/906","_links":{"self":{"href":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/pulls/comments/91192820"},"html":{"href":"https://github.com/CellularPrivacy/Android-IMSI-Catcher-Detector/pull/906#discussion_r91192820"},"pull_request":{"href":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/pulls/906"}}},"pull_request":{"url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/pulls/906","id":91300962,"html_url":"https://github.com/CellularPrivacy/Android-IMSI-Catcher-Detector/pull/906","diff_url":"https://github.com/CellularPrivacy/Android-IMSI-Catcher-Detector/pull/906.diff","patch_url":"https://github.com/CellularPrivacy/Android-IMSI-Catcher-Detector/pull/906.patch","issue_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/issues/906","number":906,"state":"open","locked":false,"title":"Fixing #852 - Removing duplicate icons on the map viewer and defaulti…","user":{"login":"rm-star","id":5438918,"avatar_url":"https://avatars.githubusercontent.com/u/5438918?v=3","gravatar_id":"","url":"https://api.github.com/users/rm-star","html_url":"https://github.com/rm-star","followers_url":"https://api.github.com/users/rm-star/followers","following_url":"https://api.github.com/users/rm-star/following{/other_user}","gists_url":"https://api.github.com/users/rm-star/gists{/gist_id}","starred_url":"https://api.github.com/users/rm-star/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rm-star/subscriptions","organizations_url":"https://api.github.com/users/rm-star/orgs","repos_url":"https://api.github.com/users/rm-star/repos","events_url":"https://api.github.com/users/rm-star/events{/privacy}","received_events_url":"https://api.github.com/users/rm-star/received_events","type":"User","site_admin":false},"body":"> Thank you for submitting a pull request! Please add below details so that we can merge it faster.\n\n---\n#### Agreements\n\n> Please check these boxes to ensure you've actually read and understood these important rules!\n- [\\* ] **I have reviewed and accepted the [guidelines for contributing](https://github.com/CellularPrivacy/Android-IMSI-Catcher-Detector/blob/development/.github/CONTRIBUTING.md) to this project.**\n- [ _] *_I have reviewed and closely followed the [Style Guide](https://github.com/CellularPrivacy/Android-IMSI-Catcher-Detector/wiki/Style-Guide) for this Android app.**\n\n---\n#### Overview\n\nAdding a fix for issue 852.\nRemoving duplicate user icons on the map by clearing out previous layers on a refresh and only creating new layers if a previous one does not already exist.\n## Defaulting the map view to move to the users current position instead of an indeterminate one.\n#### Classification\n\n> Please click the correct checkbox that applies best to classify your pull request.\n- [ *] Bugfix (non-breaking change which fixes an existing issue)\n- [ ] New feature (non-breaking change which adds functionality)\n- [ ] Refactor (restructuring of existing code without changing its external functionality)\n- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)\n\n---\n#### References\n\n> If your pull request is related to or solves any existing Issues, please link them here.\n> # 852\n> ---\n#### Screenshots\n\n> If you have created visual changes, please add a screenshot without metadata here.\n> N/A\n> …ng to view the users current position instead of an indeterminate position\n","created_at":"2016-10-27T23:47:53Z","updated_at":"2016-12-06T23:02:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f47466cd359020f2d31d5983c356dbb516ed1d60","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/pulls/906/commits","review_comments_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/pulls/906/comments","review_comment_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/issues/906/comments","statuses_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/statuses/c54e008674fea4a754d9d35addb730b1e80630f8","head":{"label":"rm-star:Fix#852MultipleUserIcons","ref":"Fix#852MultipleUserIcons","sha":"c54e008674fea4a754d9d35addb730b1e80630f8","user":{"login":"rm-star","id":5438918,"avatar_url":"https://avatars.githubusercontent.com/u/5438918?v=3","gravatar_id":"","url":"https://api.github.com/users/rm-star","html_url":"https://github.com/rm-star","followers_url":"https://api.github.com/users/rm-star/followers","following_url":"https://api.github.com/users/rm-star/following{/other_user}","gists_url":"https://api.github.com/users/rm-star/gists{/gist_id}","starred_url":"https://api.github.com/users/rm-star/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rm-star/subscriptions","organizations_url":"https://api.github.com/users/rm-star/orgs","repos_url":"https://api.github.com/users/rm-star/repos","events_url":"https://api.github.com/users/rm-star/events{/privacy}","received_events_url":"https://api.github.com/users/rm-star/received_events","type":"User","site_admin":false},"repo":{"id":71929884,"name":"Android-IMSI-Catcher-Detector","full_name":"rm-star/Android-IMSI-Catcher-Detector","owner":{"login":"rm-star","id":5438918,"avatar_url":"https://avatars.githubusercontent.com/u/5438918?v=3","gravatar_id":"","url":"https://api.github.com/users/rm-star","html_url":"https://github.com/rm-star","followers_url":"https://api.github.com/users/rm-star/followers","following_url":"https://api.github.com/users/rm-star/following{/other_user}","gists_url":"https://api.github.com/users/rm-star/gists{/gist_id}","starred_url":"https://api.github.com/users/rm-star/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rm-star/subscriptions","organizations_url":"https://api.github.com/users/rm-star/orgs","repos_url":"https://api.github.com/users/rm-star/repos","events_url":"https://api.github.com/users/rm-star/events{/privacy}","received_events_url":"https://api.github.com/users/rm-star/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rm-star/Android-IMSI-Catcher-Detector","description":"AIMSICD • Fight IMSI-Catcher, StingRay and silent SMS!","fork":true,"url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector","forks_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/forks","keys_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/teams","hooks_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/hooks","issue_events_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/issues/events{/number}","events_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/events","assignees_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/assignees{/user}","branches_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/branches{/branch}","tags_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/tags","blobs_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/git/refs{/sha}","trees_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/statuses/{sha}","languages_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/languages","stargazers_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/stargazers","contributors_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/contributors","subscribers_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/subscribers","subscription_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/subscription","commits_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/commits{/sha}","git_commits_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/git/commits{/sha}","comments_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/comments{/number}","issue_comment_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/issues/comments{/number}","contents_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/contents/{+path}","compare_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/merges","archive_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/downloads","issues_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/issues{/number}","pulls_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/pulls{/number}","milestones_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/milestones{/number}","notifications_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/labels{/name}","releases_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/releases{/id}","deployments_url":"https://api.github.com/repos/rm-star/Android-IMSI-Catcher-Detector/deployments","created_at":"2016-10-25T19:06:14Z","updated_at":"2016-10-25T19:06:16Z","pushed_at":"2016-12-06T23:00:18Z","git_url":"git://github.com/rm-star/Android-IMSI-Catcher-Detector.git","ssh_url":"git@github.com:rm-star/Android-IMSI-Catcher-Detector.git","clone_url":"https://github.com/rm-star/Android-IMSI-Catcher-Detector.git","svn_url":"https://github.com/rm-star/Android-IMSI-Catcher-Detector","homepage":"https://cellularprivacy.github.io/Android-IMSI-Catcher-Detector/","size":10467,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"development"}},"base":{"label":"CellularPrivacy:development","ref":"development","sha":"3d26d75707505c2cd8824c82b23b92d6428177b2","user":{"login":"CellularPrivacy","id":17889907,"avatar_url":"https://avatars.githubusercontent.com/u/17889907?v=3","gravatar_id":"","url":"https://api.github.com/users/CellularPrivacy","html_url":"https://github.com/CellularPrivacy","followers_url":"https://api.github.com/users/CellularPrivacy/followers","following_url":"https://api.github.com/users/CellularPrivacy/following{/other_user}","gists_url":"https://api.github.com/users/CellularPrivacy/gists{/gist_id}","starred_url":"https://api.github.com/users/CellularPrivacy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CellularPrivacy/subscriptions","organizations_url":"https://api.github.com/users/CellularPrivacy/orgs","repos_url":"https://api.github.com/users/CellularPrivacy/repos","events_url":"https://api.github.com/users/CellularPrivacy/events{/privacy}","received_events_url":"https://api.github.com/users/CellularPrivacy/received_events","type":"Organization","site_admin":false},"repo":{"id":14640193,"name":"Android-IMSI-Catcher-Detector","full_name":"CellularPrivacy/Android-IMSI-Catcher-Detector","owner":{"login":"CellularPrivacy","id":17889907,"avatar_url":"https://avatars.githubusercontent.com/u/17889907?v=3","gravatar_id":"","url":"https://api.github.com/users/CellularPrivacy","html_url":"https://github.com/CellularPrivacy","followers_url":"https://api.github.com/users/CellularPrivacy/followers","following_url":"https://api.github.com/users/CellularPrivacy/following{/other_user}","gists_url":"https://api.github.com/users/CellularPrivacy/gists{/gist_id}","starred_url":"https://api.github.com/users/CellularPrivacy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CellularPrivacy/subscriptions","organizations_url":"https://api.github.com/users/CellularPrivacy/orgs","repos_url":"https://api.github.com/users/CellularPrivacy/repos","events_url":"https://api.github.com/users/CellularPrivacy/events{/privacy}","received_events_url":"https://api.github.com/users/CellularPrivacy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CellularPrivacy/Android-IMSI-Catcher-Detector","description":"AIMSICD • Fight IMSI-Catcher, StingRay and silent SMS!","fork":false,"url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector","forks_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/forks","keys_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/teams","hooks_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/hooks","issue_events_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/issues/events{/number}","events_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/events","assignees_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/assignees{/user}","branches_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/branches{/branch}","tags_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/tags","blobs_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/git/refs{/sha}","trees_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/statuses/{sha}","languages_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/languages","stargazers_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/stargazers","contributors_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/contributors","subscribers_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/subscribers","subscription_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/subscription","commits_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/commits{/sha}","git_commits_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/git/commits{/sha}","comments_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/comments{/number}","issue_comment_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/issues/comments{/number}","contents_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/contents/{+path}","compare_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/merges","archive_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/downloads","issues_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/issues{/number}","pulls_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/pulls{/number}","milestones_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/milestones{/number}","notifications_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/labels{/name}","releases_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/releases{/id}","deployments_url":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/deployments","created_at":"2013-11-23T10:04:14Z","updated_at":"2016-12-06T17:55:04Z","pushed_at":"2016-12-06T23:00:19Z","git_url":"git://github.com/CellularPrivacy/Android-IMSI-Catcher-Detector.git","ssh_url":"git@github.com:CellularPrivacy/Android-IMSI-Catcher-Detector.git","clone_url":"https://github.com/CellularPrivacy/Android-IMSI-Catcher-Detector.git","svn_url":"https://github.com/CellularPrivacy/Android-IMSI-Catcher-Detector","homepage":"https://cellularprivacy.github.io/Android-IMSI-Catcher-Detector/","size":244142,"stargazers_count":2406,"watchers_count":2406,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":485,"mirror_url":null,"open_issues_count":137,"forks":485,"open_issues":137,"watchers":2406,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/pulls/906"},"html":{"href":"https://github.com/CellularPrivacy/Android-IMSI-Catcher-Detector/pull/906"},"issue":{"href":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/issues/906"},"comments":{"href":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/issues/906/comments"},"review_comments":{"href":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/pulls/906/comments"},"review_comment":{"href":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/pulls/906/commits"},"statuses":{"href":"https://api.github.com/repos/CellularPrivacy/Android-IMSI-Catcher-Detector/statuses/c54e008674fea4a754d9d35addb730b1e80630f8"}}}}
{"actor":{"display_login":"rm-star"}}