Merge lp:~andreas-pokorny/mir/fix-surface-information-not-propagated-to-android-input-stack into lp:mir
Status: | Merged |
---|---|
Approved by: | Alan Griffiths |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1445 |
Proposed branch: | lp:~andreas-pokorny/mir/fix-surface-information-not-propagated-to-android-input-stack |
Merge into: | lp:mir |
Diff against target: |
65 lines (+40/-0) 2 files modified
3rd_party/android-input/android/frameworks/base/services/input/InputDispatcher.cpp (+2/-0) tests/acceptance-tests/test_client_input.cpp (+38/-0) |
To merge this branch: | bzr merge lp:~andreas-pokorny/mir/fix-surface-information-not-propagated-to-android-input-stack |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Alan Griffiths | Approve | ||
Daniel van Vugt | Approve | ||
Robert Carr (community) | Approve | ||
Kevin DuBois (community) | Approve | ||
Review via email: mp+208759@code.launchpad.net |
Commit message
Updates the InputWindowInfo found at InputWindowHandles everytime the InputDispatcher tries to querry the object for hit testing.
So far that information was only updated during creation (because we triggered that in the mir implemantation) and when focus changes occur - that might be the reason why unity8 never experienced these issues. This fix kind of makes updateInfo and the interface of InputWindowInfo even more questionable. Why have those members public? Why update these only under certain circumstances..
Description of the change
This changes updates the InputWindowInfo that is provided to the android InputDispatcher for each surface and application (?) just before those objects are tested against touch positions.
PASSED: Continuous integration, rev:1436 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- ci/960/ jenkins. qa.ubuntu. com/job/ mir-android- trusty- i386-build/ 1079 jenkins. qa.ubuntu. com/job/ mir-clang- trusty- amd64-build/ 1077 jenkins. qa.ubuntu. com/job/ mir-mediumtests -trusty- touch/669 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- trusty- amd64-ci/ 692 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- trusty- amd64-ci/ 692/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- trusty- armhf-ci/ 697 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- trusty- armhf-ci/ 697/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- trusty- armhf/670 jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- trusty- armhf/670/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -runner- mako/638 s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 4379
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/mir- team-mir- development- branch- ci/960/ rebuild
http://