{"action":"created","issue":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/8472","labels_url":"https://api.github.com/repos/xbmc/xbmc/issues/8472/labels{/name}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/8472/comments","events_url":"https://api.github.com/repos/xbmc/xbmc/issues/8472/events","html_url":"https://github.com/xbmc/xbmc/pull/8472","id":120107654,"number":8472,"title":"android: fix event source evaluation (no touch events on stylus devices)","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},"labels":[{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Android","name":"Android","color":"006b75"},{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Fix","name":"Fix","color":"0b02e1"},{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Jarvis","name":"Jarvis","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/xbmc/xbmc/milestones/73","html_url":"https://github.com/xbmc/xbmc/milestones/Jarvis%2016.0-beta3","labels_url":"https://api.github.com/repos/xbmc/xbmc/milestones/73/labels","id":1423647,"number":73,"title":"Jarvis 16.0-beta3","description":"","creator":{"login":"MartijnKaijser","id":907436,"avatar_url":"https://avatars.githubusercontent.com/u/907436?v=3","gravatar_id":"","url":"https://api.github.com/users/MartijnKaijser","html_url":"https://github.com/MartijnKaijser","followers_url":"https://api.github.com/users/MartijnKaijser/followers","following_url":"https://api.github.com/users/MartijnKaijser/following{/other_user}","gists_url":"https://api.github.com/users/MartijnKaijser/gists{/gist_id}","starred_url":"https://api.github.com/users/MartijnKaijser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartijnKaijser/subscriptions","organizations_url":"https://api.github.com/users/MartijnKaijser/orgs","repos_url":"https://api.github.com/users/MartijnKaijser/repos","events_url":"https://api.github.com/users/MartijnKaijser/events{/privacy}","received_events_url":"https://api.github.com/users/MartijnKaijser/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":49,"state":"closed","created_at":"2015-11-22T09:05:01Z","updated_at":"2015-12-06T15:48:57Z","due_on":"2015-12-05T23:00:00Z","closed_at":"2015-12-06T15:48:57Z"},"comments":10,"created_at":"2015-12-03T07:02:55Z","updated_at":"2015-12-08T08:38:31Z","closed_at":"2015-12-03T10:24:26Z","pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/8472","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"},"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>"},"comment":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/comments/162813977","html_url":"https://github.com/xbmc/xbmc/pull/8472#issuecomment-162813977","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/8472","id":162813977,"user":{"login":"MartijnKaijser","id":907436,"avatar_url":"https://avatars.githubusercontent.com/u/907436?v=3","gravatar_id":"","url":"https://api.github.com/users/MartijnKaijser","html_url":"https://github.com/MartijnKaijser","followers_url":"https://api.github.com/users/MartijnKaijser/followers","following_url":"https://api.github.com/users/MartijnKaijser/following{/other_user}","gists_url":"https://api.github.com/users/MartijnKaijser/gists{/gist_id}","starred_url":"https://api.github.com/users/MartijnKaijser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartijnKaijser/subscriptions","organizations_url":"https://api.github.com/users/MartijnKaijser/orgs","repos_url":"https://api.github.com/users/MartijnKaijser/repos","events_url":"https://api.github.com/users/MartijnKaijser/events{/privacy}","received_events_url":"https://api.github.com/users/MartijnKaijser/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T08:38:31Z","updated_at":"2015-12-08T08:38:31Z","body":"Possible regression due this change?\r\nhttp://trac.kodi.tv/ticket/16423"}}