{"action":"opened","number":8472,"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/8472","id":52498654,"html_url":"https://github.com/xbmc/xbmc/pull/8472","diff_url":"https://github.com/xbmc/xbmc/pull/8472.diff","patch_url":"https://github.com/xbmc/xbmc/pull/8472.patch","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/8472","number":8472,"state":"open","locked":false,"title":"android: fix event source evaluation","user":{"login":"dakr","id":3908202,"avatar_url":"https://avatars.githubusercontent.com/u/3908202?v=3","gravatar_id":"","url":"https://api.github.com/users/dakr","html_url":"https://github.com/dakr","followers_url":"https://api.github.com/users/dakr/followers","following_url":"https://api.github.com/users/dakr/following{/other_user}","gists_url":"https://api.github.com/users/dakr/gists{/gist_id}","starred_url":"https://api.github.com/users/dakr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakr/subscriptions","organizations_url":"https://api.github.com/users/dakr/orgs","repos_url":"https://api.github.com/users/dakr/repos","events_url":"https://api.github.com/users/dakr/events{/privacy}","received_events_url":"https://api.github.com/users/dakr/received_events","type":"User","site_admin":false},"body":"When evaluating the source of android input events we need to check the source\r\nparameter flagwise and not absolute. The reason is that e.g. for touch events\r\nthe source parameter could be built out of multiple flags.\r\n\r\nE.g.: source = AINPUT_SOURCE_TOUCHSCREEN | AINPUT_SOURCE_STYLUS\r\n\r\nThis ends up that xbmc is not responding to any touch events. Thus e.g. for\r\nstylus enalbed android devices xbmc does not work without this patch.\r\n\r\nChange-Id: I3445b9c934426a5373bcaccc5c4b0c43ee0e56d5\r\nSigned-off-by: Danilo Krummrich <danilokrummrich@gmail.com>","created_at":"2015-12-03T07:02:55Z","updated_at":"2015-12-03T07:02:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/xbmc/xbmc/pulls/8472/commits","review_comments_url":"https://api.github.com/repos/xbmc/xbmc/pulls/8472/comments","review_comment_url":"https://api.github.com/repos/xbmc/xbmc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/8472/comments","statuses_url":"https://api.github.com/repos/xbmc/xbmc/statuses/9c2edad9fe1971e1a9699a766f7448525fa37af2","head":{"label":"dakr:master","ref":"master","sha":"9c2edad9fe1971e1a9699a766f7448525fa37af2","user":{"login":"dakr","id":3908202,"avatar_url":"https://avatars.githubusercontent.com/u/3908202?v=3","gravatar_id":"","url":"https://api.github.com/users/dakr","html_url":"https://github.com/dakr","followers_url":"https://api.github.com/users/dakr/followers","following_url":"https://api.github.com/users/dakr/following{/other_user}","gists_url":"https://api.github.com/users/dakr/gists{/gist_id}","starred_url":"https://api.github.com/users/dakr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakr/subscriptions","organizations_url":"https://api.github.com/users/dakr/orgs","repos_url":"https://api.github.com/users/dakr/repos","events_url":"https://api.github.com/users/dakr/events{/privacy}","received_events_url":"https://api.github.com/users/dakr/received_events","type":"User","site_admin":false},"repo":{"id":47312617,"name":"xbmc","full_name":"dakr/xbmc","owner":{"login":"dakr","id":3908202,"avatar_url":"https://avatars.githubusercontent.com/u/3908202?v=3","gravatar_id":"","url":"https://api.github.com/users/dakr","html_url":"https://github.com/dakr","followers_url":"https://api.github.com/users/dakr/followers","following_url":"https://api.github.com/users/dakr/following{/other_user}","gists_url":"https://api.github.com/users/dakr/gists{/gist_id}","starred_url":"https://api.github.com/users/dakr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakr/subscriptions","organizations_url":"https://api.github.com/users/dakr/orgs","repos_url":"https://api.github.com/users/dakr/repos","events_url":"https://api.github.com/users/dakr/events{/privacy}","received_events_url":"https://api.github.com/users/dakr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dakr/xbmc","description":"Kodi Main Repository - By using this code you agree with our policy and will follow the GPLv2 license as included","fork":true,"url":"https://api.github.com/repos/dakr/xbmc","forks_url":"https://api.github.com/repos/dakr/xbmc/forks","keys_url":"https://api.github.com/repos/dakr/xbmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dakr/xbmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dakr/xbmc/teams","hooks_url":"https://api.github.com/repos/dakr/xbmc/hooks","issue_events_url":"https://api.github.com/repos/dakr/xbmc/issues/events{/number}","events_url":"https://api.github.com/repos/dakr/xbmc/events","assignees_url":"https://api.github.com/repos/dakr/xbmc/assignees{/user}","branches_url":"https://api.github.com/repos/dakr/xbmc/branches{/branch}","tags_url":"https://api.github.com/repos/dakr/xbmc/tags","blobs_url":"https://api.github.com/repos/dakr/xbmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dakr/xbmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dakr/xbmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/dakr/xbmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dakr/xbmc/statuses/{sha}","languages_url":"https://api.github.com/repos/dakr/xbmc/languages","stargazers_url":"https://api.github.com/repos/dakr/xbmc/stargazers","contributors_url":"https://api.github.com/repos/dakr/xbmc/contributors","subscribers_url":"https://api.github.com/repos/dakr/xbmc/subscribers","subscription_url":"https://api.github.com/repos/dakr/xbmc/subscription","commits_url":"https://api.github.com/repos/dakr/xbmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/dakr/xbmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/dakr/xbmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/dakr/xbmc/issues/comments{/number}","contents_url":"https://api.github.com/repos/dakr/xbmc/contents/{+path}","compare_url":"https://api.github.com/repos/dakr/xbmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dakr/xbmc/merges","archive_url":"https://api.github.com/repos/dakr/xbmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dakr/xbmc/downloads","issues_url":"https://api.github.com/repos/dakr/xbmc/issues{/number}","pulls_url":"https://api.github.com/repos/dakr/xbmc/pulls{/number}","milestones_url":"https://api.github.com/repos/dakr/xbmc/milestones{/number}","notifications_url":"https://api.github.com/repos/dakr/xbmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dakr/xbmc/labels{/name}","releases_url":"https://api.github.com/repos/dakr/xbmc/releases{/id}","created_at":"2015-12-03T06:23:40Z","updated_at":"2015-12-03T06:24:41Z","pushed_at":"2015-12-03T07:01:14Z","git_url":"git://github.com/dakr/xbmc.git","ssh_url":"git@github.com:dakr/xbmc.git","clone_url":"https://github.com/dakr/xbmc.git","svn_url":"https://github.com/dakr/xbmc","homepage":"http://kodi.wiki/view/Official:Trademark_Policy","size":535705,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"xbmc:master","ref":"master","sha":"6c4f054b645b2b2001d173b6096a162eafa7d15b","user":{"login":"xbmc","id":199122,"avatar_url":"https://avatars.githubusercontent.com/u/199122?v=3","gravatar_id":"","url":"https://api.github.com/users/xbmc","html_url":"https://github.com/xbmc","followers_url":"https://api.github.com/users/xbmc/followers","following_url":"https://api.github.com/users/xbmc/following{/other_user}","gists_url":"https://api.github.com/users/xbmc/gists{/gist_id}","starred_url":"https://api.github.com/users/xbmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbmc/subscriptions","organizations_url":"https://api.github.com/users/xbmc/orgs","repos_url":"https://api.github.com/users/xbmc/repos","events_url":"https://api.github.com/users/xbmc/events{/privacy}","received_events_url":"https://api.github.com/users/xbmc/received_events","type":"Organization","site_admin":false},"repo":{"id":1217614,"name":"xbmc","full_name":"xbmc/xbmc","owner":{"login":"xbmc","id":199122,"avatar_url":"https://avatars.githubusercontent.com/u/199122?v=3","gravatar_id":"","url":"https://api.github.com/users/xbmc","html_url":"https://github.com/xbmc","followers_url":"https://api.github.com/users/xbmc/followers","following_url":"https://api.github.com/users/xbmc/following{/other_user}","gists_url":"https://api.github.com/users/xbmc/gists{/gist_id}","starred_url":"https://api.github.com/users/xbmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbmc/subscriptions","organizations_url":"https://api.github.com/users/xbmc/orgs","repos_url":"https://api.github.com/users/xbmc/repos","events_url":"https://api.github.com/users/xbmc/events{/privacy}","received_events_url":"https://api.github.com/users/xbmc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xbmc/xbmc","description":"Kodi Main Repository - By using this code you agree with our policy and will follow the GPLv2 license as included","fork":false,"url":"https://api.github.com/repos/xbmc/xbmc","forks_url":"https://api.github.com/repos/xbmc/xbmc/forks","keys_url":"https://api.github.com/repos/xbmc/xbmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xbmc/xbmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xbmc/xbmc/teams","hooks_url":"https://api.github.com/repos/xbmc/xbmc/hooks","issue_events_url":"https://api.github.com/repos/xbmc/xbmc/issues/events{/number}","events_url":"https://api.github.com/repos/xbmc/xbmc/events","assignees_url":"https://api.github.com/repos/xbmc/xbmc/assignees{/user}","branches_url":"https://api.github.com/repos/xbmc/xbmc/branches{/branch}","tags_url":"https://api.github.com/repos/xbmc/xbmc/tags","blobs_url":"https://api.github.com/repos/xbmc/xbmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xbmc/xbmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xbmc/xbmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/xbmc/xbmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xbmc/xbmc/statuses/{sha}","languages_url":"https://api.github.com/repos/xbmc/xbmc/languages","stargazers_url":"https://api.github.com/repos/xbmc/xbmc/stargazers","contributors_url":"https://api.github.com/repos/xbmc/xbmc/contributors","subscribers_url":"https://api.github.com/repos/xbmc/xbmc/subscribers","subscription_url":"https://api.github.com/repos/xbmc/xbmc/subscription","commits_url":"https://api.github.com/repos/xbmc/xbmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/xbmc/xbmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/xbmc/xbmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/xbmc/xbmc/issues/comments{/number}","contents_url":"https://api.github.com/repos/xbmc/xbmc/contents/{+path}","compare_url":"https://api.github.com/repos/xbmc/xbmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xbmc/xbmc/merges","archive_url":"https://api.github.com/repos/xbmc/xbmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xbmc/xbmc/downloads","issues_url":"https://api.github.com/repos/xbmc/xbmc/issues{/number}","pulls_url":"https://api.github.com/repos/xbmc/xbmc/pulls{/number}","milestones_url":"https://api.github.com/repos/xbmc/xbmc/milestones{/number}","notifications_url":"https://api.github.com/repos/xbmc/xbmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xbmc/xbmc/labels{/name}","releases_url":"https://api.github.com/repos/xbmc/xbmc/releases{/id}","created_at":"2011-01-03T21:18:51Z","updated_at":"2015-12-02T10:33:14Z","pushed_at":"2015-12-03T05:34:41Z","git_url":"git://github.com/xbmc/xbmc.git","ssh_url":"git@github.com:xbmc/xbmc.git","clone_url":"https://github.com/xbmc/xbmc.git","svn_url":"https://github.com/xbmc/xbmc","homepage":"http://kodi.wiki/view/Official:Trademark_Policy","size":1711950,"stargazers_count":4308,"watchers_count":4308,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3168,"mirror_url":null,"open_issues_count":217,"forks":3168,"open_issues":217,"watchers":4308,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/8472"},"html":{"href":"https://github.com/xbmc/xbmc/pull/8472"},"issue":{"href":"https://api.github.com/repos/xbmc/xbmc/issues/8472"},"comments":{"href":"https://api.github.com/repos/xbmc/xbmc/issues/8472/comments"},"review_comments":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/8472/comments"},"review_comment":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xbmc/xbmc/pulls/8472/commits"},"statuses":{"href":"https://api.github.com/repos/xbmc/xbmc/statuses/9c2edad9fe1971e1a9699a766f7448525fa37af2"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":10,"deletions":11,"changed_files":1}}