{"action":"created","comment":{"url":"https://api.github.com/repos/M66B/NetGuard/pulls/comments/53552005","id":53552005,"diff_hunk":"@@ -224,13 +224,9 @@ public static void upgrade(boolean initialized, Context context) {\n                 Log.i(TAG, \"Initializing sdk=\" + Build.VERSION.SDK_INT);\n                 editor.putBoolean(\"whitelist_wifi\", false);\n                 editor.putBoolean(\"whitelist_other\", false);\n-                if (Build.VERSION.SDK_INT == Build.VERSION_CODES.LOLLIPOP_MR1) {\n-                    editor.putBoolean(\"filter\", true); // Optional\n-                    editor.putBoolean(\"filter_allowed\", true); // Optional\n-                }\n             }\n \n-            if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {\n+            if (Build.VERSION.SDK_INT < VERSION_CODES.LOLLIPOP_MR1) {","path":"app/src/main/java/eu/faircode/netguard/Receiver.java","position":11,"original_position":11,"commit_id":"6fbba26998a360b4a57a565b76f7aff10c61964f","original_commit_id":"6fbba26998a360b4a57a565b76f7aff10c61964f","user":{"login":"M66B","id":259573,"avatar_url":"https://avatars.githubusercontent.com/u/259573?v=3","gravatar_id":"","url":"https://api.github.com/users/M66B","html_url":"https://github.com/M66B","followers_url":"https://api.github.com/users/M66B/followers","following_url":"https://api.github.com/users/M66B/following{/other_user}","gists_url":"https://api.github.com/users/M66B/gists{/gist_id}","starred_url":"https://api.github.com/users/M66B/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/M66B/subscriptions","organizations_url":"https://api.github.com/users/M66B/orgs","repos_url":"https://api.github.com/users/M66B/repos","events_url":"https://api.github.com/users/M66B/events{/privacy}","received_events_url":"https://api.github.com/users/M66B/received_events","type":"User","site_admin":false},"body":"This should not be changed like this, since it will mandate filtering on Android 5.0, which is not the intention.","created_at":"2016-02-20T15:27:47Z","updated_at":"2016-02-20T15:27:47Z","html_url":"https://github.com/M66B/NetGuard/pull/338#discussion_r53552005","pull_request_url":"https://api.github.com/repos/M66B/NetGuard/pulls/338","_links":{"self":{"href":"https://api.github.com/repos/M66B/NetGuard/pulls/comments/53552005"},"html":{"href":"https://github.com/M66B/NetGuard/pull/338#discussion_r53552005"},"pull_request":{"href":"https://api.github.com/repos/M66B/NetGuard/pulls/338"}}},"pull_request":{"url":"https://api.github.com/repos/M66B/NetGuard/pulls/338","id":60050882,"html_url":"https://github.com/M66B/NetGuard/pull/338","diff_url":"https://github.com/M66B/NetGuard/pull/338.diff","patch_url":"https://github.com/M66B/NetGuard/pull/338.patch","issue_url":"https://api.github.com/repos/M66B/NetGuard/issues/338","number":338,"state":"open","locked":false,"title":"No need to force filtering for SDK22 and up","user":{"login":"licaon-kter","id":2282799,"avatar_url":"https://avatars.githubusercontent.com/u/2282799?v=3","gravatar_id":"","url":"https://api.github.com/users/licaon-kter","html_url":"https://github.com/licaon-kter","followers_url":"https://api.github.com/users/licaon-kter/followers","following_url":"https://api.github.com/users/licaon-kter/following{/other_user}","gists_url":"https://api.github.com/users/licaon-kter/gists{/gist_id}","starred_url":"https://api.github.com/users/licaon-kter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/licaon-kter/subscriptions","organizations_url":"https://api.github.com/users/licaon-kter/orgs","repos_url":"https://api.github.com/users/licaon-kter/repos","events_url":"https://api.github.com/users/licaon-kter/events{/privacy}","received_events_url":"https://api.github.com/users/licaon-kter/received_events","type":"User","site_admin":false},"body":"5.1.1 works fine without filtering","created_at":"2016-02-20T15:22:51Z","updated_at":"2016-02-20T15:27:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"656b3c3b605579d10acc61781870b145c2787e58","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/M66B/NetGuard/pulls/338/commits","review_comments_url":"https://api.github.com/repos/M66B/NetGuard/pulls/338/comments","review_comment_url":"https://api.github.com/repos/M66B/NetGuard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/M66B/NetGuard/issues/338/comments","statuses_url":"https://api.github.com/repos/M66B/NetGuard/statuses/6fbba26998a360b4a57a565b76f7aff10c61964f","head":{"label":"licaon-kter:patch-3","ref":"patch-3","sha":"6fbba26998a360b4a57a565b76f7aff10c61964f","user":{"login":"licaon-kter","id":2282799,"avatar_url":"https://avatars.githubusercontent.com/u/2282799?v=3","gravatar_id":"","url":"https://api.github.com/users/licaon-kter","html_url":"https://github.com/licaon-kter","followers_url":"https://api.github.com/users/licaon-kter/followers","following_url":"https://api.github.com/users/licaon-kter/following{/other_user}","gists_url":"https://api.github.com/users/licaon-kter/gists{/gist_id}","starred_url":"https://api.github.com/users/licaon-kter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/licaon-kter/subscriptions","organizations_url":"https://api.github.com/users/licaon-kter/orgs","repos_url":"https://api.github.com/users/licaon-kter/repos","events_url":"https://api.github.com/users/licaon-kter/events{/privacy}","received_events_url":"https://api.github.com/users/licaon-kter/received_events","type":"User","site_admin":false},"repo":{"id":52077078,"name":"NetGuard","full_name":"licaon-kter/NetGuard","owner":{"login":"licaon-kter","id":2282799,"avatar_url":"https://avatars.githubusercontent.com/u/2282799?v=3","gravatar_id":"","url":"https://api.github.com/users/licaon-kter","html_url":"https://github.com/licaon-kter","followers_url":"https://api.github.com/users/licaon-kter/followers","following_url":"https://api.github.com/users/licaon-kter/following{/other_user}","gists_url":"https://api.github.com/users/licaon-kter/gists{/gist_id}","starred_url":"https://api.github.com/users/licaon-kter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/licaon-kter/subscriptions","organizations_url":"https://api.github.com/users/licaon-kter/orgs","repos_url":"https://api.github.com/users/licaon-kter/repos","events_url":"https://api.github.com/users/licaon-kter/events{/privacy}","received_events_url":"https://api.github.com/users/licaon-kter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/licaon-kter/NetGuard","description":"A simple way to block access to the internet per application","fork":true,"url":"https://api.github.com/repos/licaon-kter/NetGuard","forks_url":"https://api.github.com/repos/licaon-kter/NetGuard/forks","keys_url":"https://api.github.com/repos/licaon-kter/NetGuard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/licaon-kter/NetGuard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/licaon-kter/NetGuard/teams","hooks_url":"https://api.github.com/repos/licaon-kter/NetGuard/hooks","issue_events_url":"https://api.github.com/repos/licaon-kter/NetGuard/issues/events{/number}","events_url":"https://api.github.com/repos/licaon-kter/NetGuard/events","assignees_url":"https://api.github.com/repos/licaon-kter/NetGuard/assignees{/user}","branches_url":"https://api.github.com/repos/licaon-kter/NetGuard/branches{/branch}","tags_url":"https://api.github.com/repos/licaon-kter/NetGuard/tags","blobs_url":"https://api.github.com/repos/licaon-kter/NetGuard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/licaon-kter/NetGuard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/licaon-kter/NetGuard/git/refs{/sha}","trees_url":"https://api.github.com/repos/licaon-kter/NetGuard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/licaon-kter/NetGuard/statuses/{sha}","languages_url":"https://api.github.com/repos/licaon-kter/NetGuard/languages","stargazers_url":"https://api.github.com/repos/licaon-kter/NetGuard/stargazers","contributors_url":"https://api.github.com/repos/licaon-kter/NetGuard/contributors","subscribers_url":"https://api.github.com/repos/licaon-kter/NetGuard/subscribers","subscription_url":"https://api.github.com/repos/licaon-kter/NetGuard/subscription","commits_url":"https://api.github.com/repos/licaon-kter/NetGuard/commits{/sha}","git_commits_url":"https://api.github.com/repos/licaon-kter/NetGuard/git/commits{/sha}","comments_url":"https://api.github.com/repos/licaon-kter/NetGuard/comments{/number}","issue_comment_url":"https://api.github.com/repos/licaon-kter/NetGuard/issues/comments{/number}","contents_url":"https://api.github.com/repos/licaon-kter/NetGuard/contents/{+path}","compare_url":"https://api.github.com/repos/licaon-kter/NetGuard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/licaon-kter/NetGuard/merges","archive_url":"https://api.github.com/repos/licaon-kter/NetGuard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/licaon-kter/NetGuard/downloads","issues_url":"https://api.github.com/repos/licaon-kter/NetGuard/issues{/number}","pulls_url":"https://api.github.com/repos/licaon-kter/NetGuard/pulls{/number}","milestones_url":"https://api.github.com/repos/licaon-kter/NetGuard/milestones{/number}","notifications_url":"https://api.github.com/repos/licaon-kter/NetGuard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/licaon-kter/NetGuard/labels{/name}","releases_url":"https://api.github.com/repos/licaon-kter/NetGuard/releases{/id}","deployments_url":"https://api.github.com/repos/licaon-kter/NetGuard/deployments","created_at":"2016-02-19T09:32:24Z","updated_at":"2016-02-19T09:32:25Z","pushed_at":"2016-02-20T15:21:31Z","git_url":"git://github.com/licaon-kter/NetGuard.git","ssh_url":"git@github.com:licaon-kter/NetGuard.git","clone_url":"https://github.com/licaon-kter/NetGuard.git","svn_url":"https://github.com/licaon-kter/NetGuard","homepage":"http://www.netguard.me/","size":9202,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"M66B:master","ref":"master","sha":"cce89a0ea8f10a6bb39079b133638abd8e2f9130","user":{"login":"M66B","id":259573,"avatar_url":"https://avatars.githubusercontent.com/u/259573?v=3","gravatar_id":"","url":"https://api.github.com/users/M66B","html_url":"https://github.com/M66B","followers_url":"https://api.github.com/users/M66B/followers","following_url":"https://api.github.com/users/M66B/following{/other_user}","gists_url":"https://api.github.com/users/M66B/gists{/gist_id}","starred_url":"https://api.github.com/users/M66B/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/M66B/subscriptions","organizations_url":"https://api.github.com/users/M66B/orgs","repos_url":"https://api.github.com/users/M66B/repos","events_url":"https://api.github.com/users/M66B/events{/privacy}","received_events_url":"https://api.github.com/users/M66B/received_events","type":"User","site_admin":false},"repo":{"id":44877925,"name":"NetGuard","full_name":"M66B/NetGuard","owner":{"login":"M66B","id":259573,"avatar_url":"https://avatars.githubusercontent.com/u/259573?v=3","gravatar_id":"","url":"https://api.github.com/users/M66B","html_url":"https://github.com/M66B","followers_url":"https://api.github.com/users/M66B/followers","following_url":"https://api.github.com/users/M66B/following{/other_user}","gists_url":"https://api.github.com/users/M66B/gists{/gist_id}","starred_url":"https://api.github.com/users/M66B/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/M66B/subscriptions","organizations_url":"https://api.github.com/users/M66B/orgs","repos_url":"https://api.github.com/users/M66B/repos","events_url":"https://api.github.com/users/M66B/events{/privacy}","received_events_url":"https://api.github.com/users/M66B/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/M66B/NetGuard","description":"A simple way to block access to the internet per application","fork":false,"url":"https://api.github.com/repos/M66B/NetGuard","forks_url":"https://api.github.com/repos/M66B/NetGuard/forks","keys_url":"https://api.github.com/repos/M66B/NetGuard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/M66B/NetGuard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/M66B/NetGuard/teams","hooks_url":"https://api.github.com/repos/M66B/NetGuard/hooks","issue_events_url":"https://api.github.com/repos/M66B/NetGuard/issues/events{/number}","events_url":"https://api.github.com/repos/M66B/NetGuard/events","assignees_url":"https://api.github.com/repos/M66B/NetGuard/assignees{/user}","branches_url":"https://api.github.com/repos/M66B/NetGuard/branches{/branch}","tags_url":"https://api.github.com/repos/M66B/NetGuard/tags","blobs_url":"https://api.github.com/repos/M66B/NetGuard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/M66B/NetGuard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/M66B/NetGuard/git/refs{/sha}","trees_url":"https://api.github.com/repos/M66B/NetGuard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/M66B/NetGuard/statuses/{sha}","languages_url":"https://api.github.com/repos/M66B/NetGuard/languages","stargazers_url":"https://api.github.com/repos/M66B/NetGuard/stargazers","contributors_url":"https://api.github.com/repos/M66B/NetGuard/contributors","subscribers_url":"https://api.github.com/repos/M66B/NetGuard/subscribers","subscription_url":"https://api.github.com/repos/M66B/NetGuard/subscription","commits_url":"https://api.github.com/repos/M66B/NetGuard/commits{/sha}","git_commits_url":"https://api.github.com/repos/M66B/NetGuard/git/commits{/sha}","comments_url":"https://api.github.com/repos/M66B/NetGuard/comments{/number}","issue_comment_url":"https://api.github.com/repos/M66B/NetGuard/issues/comments{/number}","contents_url":"https://api.github.com/repos/M66B/NetGuard/contents/{+path}","compare_url":"https://api.github.com/repos/M66B/NetGuard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/M66B/NetGuard/merges","archive_url":"https://api.github.com/repos/M66B/NetGuard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/M66B/NetGuard/downloads","issues_url":"https://api.github.com/repos/M66B/NetGuard/issues{/number}","pulls_url":"https://api.github.com/repos/M66B/NetGuard/pulls{/number}","milestones_url":"https://api.github.com/repos/M66B/NetGuard/milestones{/number}","notifications_url":"https://api.github.com/repos/M66B/NetGuard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/M66B/NetGuard/labels{/name}","releases_url":"https://api.github.com/repos/M66B/NetGuard/releases{/id}","deployments_url":"https://api.github.com/repos/M66B/NetGuard/deployments","created_at":"2015-10-24T17:59:20Z","updated_at":"2016-02-19T10:18:01Z","pushed_at":"2016-02-20T15:22:51Z","git_url":"git://github.com/M66B/NetGuard.git","ssh_url":"git@github.com:M66B/NetGuard.git","clone_url":"https://github.com/M66B/NetGuard.git","svn_url":"https://github.com/M66B/NetGuard","homepage":"http://www.netguard.me/","size":9232,"stargazers_count":392,"watchers_count":392,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":90,"mirror_url":null,"open_issues_count":10,"forks":90,"open_issues":10,"watchers":392,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/M66B/NetGuard/pulls/338"},"html":{"href":"https://github.com/M66B/NetGuard/pull/338"},"issue":{"href":"https://api.github.com/repos/M66B/NetGuard/issues/338"},"comments":{"href":"https://api.github.com/repos/M66B/NetGuard/issues/338/comments"},"review_comments":{"href":"https://api.github.com/repos/M66B/NetGuard/pulls/338/comments"},"review_comment":{"href":"https://api.github.com/repos/M66B/NetGuard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/M66B/NetGuard/pulls/338/commits"},"statuses":{"href":"https://api.github.com/repos/M66B/NetGuard/statuses/6fbba26998a360b4a57a565b76f7aff10c61964f"}}}}