{"action":"created","comment":{"url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/pulls/comments/339303350","pull_request_review_id":307529692,"id":339303350,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMzOTMwMzM1MA==","diff_hunk":"@@ -380,12 +380,15 @@ private static void showPropertiesDialog(final HybridFileParcelable baseFile, fi\n                 name = baseFile.getName(),\n                 parent = baseFile.getReadablePath(baseFile.getParent(c));\n \n+        File nomediaFile = baseFile.isDirectory()? new File(baseFile.getPath() + \"/\" + FileUtils.NOMEDIA_FILE) : null;","path":"app/src/main/java/com/amaze/filemanager/ui/dialogs/GeneralDialogCreation.java","position":75,"original_position":75,"commit_id":"a0b3552def338b8e73e3b9a37907e0dc5b1d9660","original_commit_id":"a0b3552def338b8e73e3b9a37907e0dc5b1d9660","user":{"login":"bowiechen","id":543091,"node_id":"MDQ6VXNlcjU0MzA5MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/543091?v=4","gravatar_id":"","url":"https://api.github.com/users/bowiechen","html_url":"https://github.com/bowiechen","followers_url":"https://api.github.com/users/bowiechen/followers","following_url":"https://api.github.com/users/bowiechen/following{/other_user}","gists_url":"https://api.github.com/users/bowiechen/gists{/gist_id}","starred_url":"https://api.github.com/users/bowiechen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bowiechen/subscriptions","organizations_url":"https://api.github.com/users/bowiechen/orgs","repos_url":"https://api.github.com/users/bowiechen/repos","events_url":"https://api.github.com/users/bowiechen/events{/privacy}","received_events_url":"https://api.github.com/users/bowiechen/received_events","type":"User","site_admin":false},"body":"Are you concerned if a user-created `.nomedia` will be destroyed with this line? If so, I don't think we need to worry about this: users who are tech-savvy enough know what `.nomedia` is and those who aren't will not name one of their files `.nomedia`.","created_at":"2019-10-26T15:04:27Z","updated_at":"2019-10-26T15:04:27Z","html_url":"https://github.com/TeamAmaze/AmazeFileManager/pull/1708#discussion_r339303350","pull_request_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/pulls/1708","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/pulls/comments/339303350"},"html":{"href":"https://github.com/TeamAmaze/AmazeFileManager/pull/1708#discussion_r339303350"},"pull_request":{"href":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/pulls/1708"}},"in_reply_to_id":338815272},"pull_request":{"url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/pulls/1708","id":330761411,"node_id":"MDExOlB1bGxSZXF1ZXN0MzMwNzYxNDEx","html_url":"https://github.com/TeamAmaze/AmazeFileManager/pull/1708","diff_url":"https://github.com/TeamAmaze/AmazeFileManager/pull/1708.diff","patch_url":"https://github.com/TeamAmaze/AmazeFileManager/pull/1708.patch","issue_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/issues/1708","number":1708,"state":"open","locked":false,"title":"Feature: add .nomedia to directories with checkbox in Properties","user":{"login":"bowiechen","id":543091,"node_id":"MDQ6VXNlcjU0MzA5MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/543091?v=4","gravatar_id":"","url":"https://api.github.com/users/bowiechen","html_url":"https://github.com/bowiechen","followers_url":"https://api.github.com/users/bowiechen/followers","following_url":"https://api.github.com/users/bowiechen/following{/other_user}","gists_url":"https://api.github.com/users/bowiechen/gists{/gist_id}","starred_url":"https://api.github.com/users/bowiechen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bowiechen/subscriptions","organizations_url":"https://api.github.com/users/bowiechen/orgs","repos_url":"https://api.github.com/users/bowiechen/repos","events_url":"https://api.github.com/users/bowiechen/events{/privacy}","received_events_url":"https://api.github.com/users/bowiechen/received_events","type":"User","site_admin":false},"body":"Fixes #769, referenced #844.\r\n\r\nSteps to reproduce:\r\n1. Tap the \"three dot\" button the right of a folder.\r\n2. Tap \"Properties\".\r\n3. A checkbox labeled \"Hide from media browsers\" should be visible and its state reflecting the existence of the `.nomedia` file in that directory.\r\n4. Toggle the checkbox and tap \"OK\". If the `.nomedia` file exists, it will be deleted; if the `.nomedia` file does not exist, it will be created.\r\n\r\nToggling the checkbox will not immediately delete the `.nomedia` file -- \"OK\" must be tapped in order to commit the action.","created_at":"2019-10-22T01:00:47Z","updated_at":"2019-10-26T15:04:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7e84971776e40bca84b6e9b9e462294ed77099ce","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/pulls/1708/commits","review_comments_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/pulls/1708/comments","review_comment_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/issues/1708/comments","statuses_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/statuses/a0b3552def338b8e73e3b9a37907e0dc5b1d9660","head":{"label":"bowiechen:bowiechen/feature/nomedia","ref":"bowiechen/feature/nomedia","sha":"a0b3552def338b8e73e3b9a37907e0dc5b1d9660","user":{"login":"bowiechen","id":543091,"node_id":"MDQ6VXNlcjU0MzA5MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/543091?v=4","gravatar_id":"","url":"https://api.github.com/users/bowiechen","html_url":"https://github.com/bowiechen","followers_url":"https://api.github.com/users/bowiechen/followers","following_url":"https://api.github.com/users/bowiechen/following{/other_user}","gists_url":"https://api.github.com/users/bowiechen/gists{/gist_id}","starred_url":"https://api.github.com/users/bowiechen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bowiechen/subscriptions","organizations_url":"https://api.github.com/users/bowiechen/orgs","repos_url":"https://api.github.com/users/bowiechen/repos","events_url":"https://api.github.com/users/bowiechen/events{/privacy}","received_events_url":"https://api.github.com/users/bowiechen/received_events","type":"User","site_admin":false},"repo":{"id":213300794,"node_id":"MDEwOlJlcG9zaXRvcnkyMTMzMDA3OTQ=","name":"AmazeFileManager","full_name":"bowiechen/AmazeFileManager","private":false,"owner":{"login":"bowiechen","id":543091,"node_id":"MDQ6VXNlcjU0MzA5MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/543091?v=4","gravatar_id":"","url":"https://api.github.com/users/bowiechen","html_url":"https://github.com/bowiechen","followers_url":"https://api.github.com/users/bowiechen/followers","following_url":"https://api.github.com/users/bowiechen/following{/other_user}","gists_url":"https://api.github.com/users/bowiechen/gists{/gist_id}","starred_url":"https://api.github.com/users/bowiechen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bowiechen/subscriptions","organizations_url":"https://api.github.com/users/bowiechen/orgs","repos_url":"https://api.github.com/users/bowiechen/repos","events_url":"https://api.github.com/users/bowiechen/events{/privacy}","received_events_url":"https://api.github.com/users/bowiechen/received_events","type":"User","site_admin":false},"html_url":"https://github.com/bowiechen/AmazeFileManager","description":"Material design file manager for Android","fork":true,"url":"https://api.github.com/repos/bowiechen/AmazeFileManager","forks_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/forks","keys_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/teams","hooks_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/hooks","issue_events_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/issues/events{/number}","events_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/events","assignees_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/assignees{/user}","branches_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/branches{/branch}","tags_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/tags","blobs_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/git/refs{/sha}","trees_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/statuses/{sha}","languages_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/languages","stargazers_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/stargazers","contributors_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/contributors","subscribers_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/subscribers","subscription_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/subscription","commits_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/commits{/sha}","git_commits_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/git/commits{/sha}","comments_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/comments{/number}","issue_comment_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/issues/comments{/number}","contents_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/contents/{+path}","compare_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/merges","archive_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/downloads","issues_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/issues{/number}","pulls_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/pulls{/number}","milestones_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/milestones{/number}","notifications_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/labels{/name}","releases_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/releases{/id}","deployments_url":"https://api.github.com/repos/bowiechen/AmazeFileManager/deployments","created_at":"2019-10-07T05:17:14Z","updated_at":"2019-10-07T05:17:16Z","pushed_at":"2019-10-25T15:38:15Z","git_url":"git://github.com/bowiechen/AmazeFileManager.git","ssh_url":"git@github.com:bowiechen/AmazeFileManager.git","clone_url":"https://github.com/bowiechen/AmazeFileManager.git","svn_url":"https://github.com/bowiechen/AmazeFileManager","homepage":"","size":46383,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"TeamAmaze:master","ref":"master","sha":"86cb1039f974865fba314157e41350c9ff979bb6","user":{"login":"TeamAmaze","id":30984365,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwOTg0MzY1","avatar_url":"https://avatars0.githubusercontent.com/u/30984365?v=4","gravatar_id":"","url":"https://api.github.com/users/TeamAmaze","html_url":"https://github.com/TeamAmaze","followers_url":"https://api.github.com/users/TeamAmaze/followers","following_url":"https://api.github.com/users/TeamAmaze/following{/other_user}","gists_url":"https://api.github.com/users/TeamAmaze/gists{/gist_id}","starred_url":"https://api.github.com/users/TeamAmaze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeamAmaze/subscriptions","organizations_url":"https://api.github.com/users/TeamAmaze/orgs","repos_url":"https://api.github.com/users/TeamAmaze/repos","events_url":"https://api.github.com/users/TeamAmaze/events{/privacy}","received_events_url":"https://api.github.com/users/TeamAmaze/received_events","type":"Organization","site_admin":false},"repo":{"id":21833183,"node_id":"MDEwOlJlcG9zaXRvcnkyMTgzMzE4Mw==","name":"AmazeFileManager","full_name":"TeamAmaze/AmazeFileManager","private":false,"owner":{"login":"TeamAmaze","id":30984365,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwOTg0MzY1","avatar_url":"https://avatars0.githubusercontent.com/u/30984365?v=4","gravatar_id":"","url":"https://api.github.com/users/TeamAmaze","html_url":"https://github.com/TeamAmaze","followers_url":"https://api.github.com/users/TeamAmaze/followers","following_url":"https://api.github.com/users/TeamAmaze/following{/other_user}","gists_url":"https://api.github.com/users/TeamAmaze/gists{/gist_id}","starred_url":"https://api.github.com/users/TeamAmaze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeamAmaze/subscriptions","organizations_url":"https://api.github.com/users/TeamAmaze/orgs","repos_url":"https://api.github.com/users/TeamAmaze/repos","events_url":"https://api.github.com/users/TeamAmaze/events{/privacy}","received_events_url":"https://api.github.com/users/TeamAmaze/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/TeamAmaze/AmazeFileManager","description":"Material design file manager for Android","fork":false,"url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager","forks_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/forks","keys_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/teams","hooks_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/hooks","issue_events_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/issues/events{/number}","events_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/events","assignees_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/assignees{/user}","branches_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/branches{/branch}","tags_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/tags","blobs_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/git/refs{/sha}","trees_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/statuses/{sha}","languages_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/languages","stargazers_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/stargazers","contributors_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/contributors","subscribers_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/subscribers","subscription_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/subscription","commits_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/commits{/sha}","git_commits_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/git/commits{/sha}","comments_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/comments{/number}","issue_comment_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/issues/comments{/number}","contents_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/contents/{+path}","compare_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/merges","archive_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/downloads","issues_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/issues{/number}","pulls_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/pulls{/number}","milestones_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/milestones{/number}","notifications_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/labels{/name}","releases_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/releases{/id}","deployments_url":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/deployments","created_at":"2014-07-14T19:47:53Z","updated_at":"2019-10-26T11:56:41Z","pushed_at":"2019-10-22T09:55:03Z","git_url":"git://github.com/TeamAmaze/AmazeFileManager.git","ssh_url":"git@github.com:TeamAmaze/AmazeFileManager.git","clone_url":"https://github.com/TeamAmaze/AmazeFileManager.git","svn_url":"https://github.com/TeamAmaze/AmazeFileManager","homepage":"","size":46211,"stargazers_count":2686,"watchers_count":2686,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":940,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":309,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":940,"open_issues":309,"watchers":2686,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/pulls/1708"},"html":{"href":"https://github.com/TeamAmaze/AmazeFileManager/pull/1708"},"issue":{"href":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/issues/1708"},"comments":{"href":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/issues/1708/comments"},"review_comments":{"href":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/pulls/1708/comments"},"review_comment":{"href":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/pulls/1708/commits"},"statuses":{"href":"https://api.github.com/repos/TeamAmaze/AmazeFileManager/statuses/a0b3552def338b8e73e3b9a37907e0dc5b1d9660"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"bowiechen"}}