{"action":"created","comment":{"url":"https://api.github.com/repos/edx/edx-app-android/pulls/comments/23287142","id":23287142,"diff_hunk":"@@ -1,6 +1,7 @@\n <?xml version=\"1.0\" encoding=\"utf-8\"?>\n <selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n     <item android:drawable=\"@drawable/switch_defaultbg\" android:state_focused=\"true\"/>\n+    <item android:drawable=\"@drawable/switch_cyanbg\" android:state_checked=\"true\"/>\n     <item android:drawable=\"@drawable/switch_defaultbg\" android:state_checked=\"false\"/>\n     <item android:drawable=\"@drawable/switch_cyanbg\"/>","path":"android/source/VideoLocker/res/drawable/switch_track.xml","position":6,"original_position":6,"commit_id":"a74b8488a8520ddcafe26c5a17793642551899ee","original_commit_id":"a74b8488a8520ddcafe26c5a17793642551899ee","user":{"login":"shahidtamboli","id":7403872,"avatar_url":"https://avatars.githubusercontent.com/u/7403872?v=3","gravatar_id":"","url":"https://api.github.com/users/shahidtamboli","html_url":"https://github.com/shahidtamboli","followers_url":"https://api.github.com/users/shahidtamboli/followers","following_url":"https://api.github.com/users/shahidtamboli/following{/other_user}","gists_url":"https://api.github.com/users/shahidtamboli/gists{/gist_id}","starred_url":"https://api.github.com/users/shahidtamboli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahidtamboli/subscriptions","organizations_url":"https://api.github.com/users/shahidtamboli/orgs","repos_url":"https://api.github.com/users/shahidtamboli/repos","events_url":"https://api.github.com/users/shahidtamboli/events{/privacy}","received_events_url":"https://api.github.com/users/shahidtamboli/received_events","type":"User","site_admin":false},"body":"It is not compulsory to add <code>state_checked=\"false\"</code> as default drawable is defined. It was just to avoid any unwanted crashes if it does not read the default value for checked state. Hence I have added that line.","created_at":"2015-01-21T09:33:36Z","updated_at":"2015-01-21T09:33:36Z","html_url":"https://github.com/edx/edx-app-android/pull/17#discussion_r23287142","pull_request_url":"https://api.github.com/repos/edx/edx-app-android/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/edx/edx-app-android/pulls/comments/23287142"},"html":{"href":"https://github.com/edx/edx-app-android/pull/17#discussion_r23287142"},"pull_request":{"href":"https://api.github.com/repos/edx/edx-app-android/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/edx/edx-app-android/pulls/17","id":27671339,"html_url":"https://github.com/edx/edx-app-android/pull/17","diff_url":"https://github.com/edx/edx-app-android/pull/17.diff","patch_url":"https://github.com/edx/edx-app-android/pull/17.patch","issue_url":"https://api.github.com/repos/edx/edx-app-android/issues/17","number":17,"state":"open","locked":false,"title":"Fix null pointer issue on Switch in NavigationFragment","user":{"login":"shahidtamboli","id":7403872,"avatar_url":"https://avatars.githubusercontent.com/u/7403872?v=3","gravatar_id":"","url":"https://api.github.com/users/shahidtamboli","html_url":"https://github.com/shahidtamboli","followers_url":"https://api.github.com/users/shahidtamboli/followers","following_url":"https://api.github.com/users/shahidtamboli/following{/other_user}","gists_url":"https://api.github.com/users/shahidtamboli/gists{/gist_id}","starred_url":"https://api.github.com/users/shahidtamboli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahidtamboli/subscriptions","organizations_url":"https://api.github.com/users/shahidtamboli/orgs","repos_url":"https://api.github.com/users/shahidtamboli/repos","events_url":"https://api.github.com/users/shahidtamboli/events{/privacy}","received_events_url":"https://api.github.com/users/shahidtamboli/received_events","type":"User","site_admin":false},"body":"There was a crash in Navigation Fragment for switch drawable. \r\nI was unable to reproduce this issue but have tried to fix it logically.\r\n\r\n@nasthagiri , @rohan-dhamal-clarice - Please review\r\n\r\nJIRA: https://openedx.atlassian.net/browse/MOB-1350","created_at":"2015-01-20T11:41:46Z","updated_at":"2015-01-21T09:33:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f99b5513ca732f30cbaeb8be306897b2f65a9730","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edx/edx-app-android/pulls/17/commits","review_comments_url":"https://api.github.com/repos/edx/edx-app-android/pulls/17/comments","review_comment_url":"https://api.github.com/repos/edx/edx-app-android/pulls/comments/{number}","comments_url":"https://api.github.com/repos/edx/edx-app-android/issues/17/comments","statuses_url":"https://api.github.com/repos/edx/edx-app-android/statuses/a74b8488a8520ddcafe26c5a17793642551899ee","head":{"label":"edx:shahidtamboli/Mob-1350-fix-switch-button-issue","ref":"shahidtamboli/Mob-1350-fix-switch-button-issue","sha":"a74b8488a8520ddcafe26c5a17793642551899ee","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":29251742,"name":"edx-app-android","full_name":"edx/edx-app-android","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-app-android","description":"","fork":false,"url":"https://api.github.com/repos/edx/edx-app-android","forks_url":"https://api.github.com/repos/edx/edx-app-android/forks","keys_url":"https://api.github.com/repos/edx/edx-app-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-app-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-app-android/teams","hooks_url":"https://api.github.com/repos/edx/edx-app-android/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-app-android/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-app-android/events","assignees_url":"https://api.github.com/repos/edx/edx-app-android/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-app-android/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-app-android/tags","blobs_url":"https://api.github.com/repos/edx/edx-app-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-app-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-app-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-app-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-app-android/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-app-android/languages","stargazers_url":"https://api.github.com/repos/edx/edx-app-android/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-app-android/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-app-android/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-app-android/subscription","commits_url":"https://api.github.com/repos/edx/edx-app-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-app-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-app-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-app-android/issues/comments/{number}","contents_url":"https://api.github.com/repos/edx/edx-app-android/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-app-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-app-android/merges","archive_url":"https://api.github.com/repos/edx/edx-app-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-app-android/downloads","issues_url":"https://api.github.com/repos/edx/edx-app-android/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-app-android/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-app-android/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-app-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-app-android/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-app-android/releases{/id}","created_at":"2015-01-14T15:49:47Z","updated_at":"2015-01-21T07:38:38Z","pushed_at":"2015-01-21T09:25:47Z","git_url":"git://github.com/edx/edx-app-android.git","ssh_url":"git@github.com:edx/edx-app-android.git","clone_url":"https://github.com/edx/edx-app-android.git","svn_url":"https://github.com/edx/edx-app-android","homepage":null,"size":0,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":13,"forks":4,"open_issues":13,"watchers":5,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"99b706ba9cee9e238c6a466cf8890ad561f17c95","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":29251742,"name":"edx-app-android","full_name":"edx/edx-app-android","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-app-android","description":"","fork":false,"url":"https://api.github.com/repos/edx/edx-app-android","forks_url":"https://api.github.com/repos/edx/edx-app-android/forks","keys_url":"https://api.github.com/repos/edx/edx-app-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-app-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-app-android/teams","hooks_url":"https://api.github.com/repos/edx/edx-app-android/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-app-android/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-app-android/events","assignees_url":"https://api.github.com/repos/edx/edx-app-android/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-app-android/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-app-android/tags","blobs_url":"https://api.github.com/repos/edx/edx-app-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-app-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-app-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-app-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-app-android/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-app-android/languages","stargazers_url":"https://api.github.com/repos/edx/edx-app-android/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-app-android/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-app-android/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-app-android/subscription","commits_url":"https://api.github.com/repos/edx/edx-app-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-app-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-app-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-app-android/issues/comments/{number}","contents_url":"https://api.github.com/repos/edx/edx-app-android/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-app-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-app-android/merges","archive_url":"https://api.github.com/repos/edx/edx-app-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-app-android/downloads","issues_url":"https://api.github.com/repos/edx/edx-app-android/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-app-android/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-app-android/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-app-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-app-android/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-app-android/releases{/id}","created_at":"2015-01-14T15:49:47Z","updated_at":"2015-01-21T07:38:38Z","pushed_at":"2015-01-21T09:25:47Z","git_url":"git://github.com/edx/edx-app-android.git","ssh_url":"git@github.com:edx/edx-app-android.git","clone_url":"https://github.com/edx/edx-app-android.git","svn_url":"https://github.com/edx/edx-app-android","homepage":null,"size":0,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":13,"forks":4,"open_issues":13,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/edx-app-android/pulls/17"},"html":{"href":"https://github.com/edx/edx-app-android/pull/17"},"issue":{"href":"https://api.github.com/repos/edx/edx-app-android/issues/17"},"comments":{"href":"https://api.github.com/repos/edx/edx-app-android/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/edx-app-android/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/edx-app-android/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/edx/edx-app-android/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/edx/edx-app-android/statuses/a74b8488a8520ddcafe26c5a17793642551899ee"}}}}