Merge lp:~andreas-pokorny/mir/disable-android-input-stack-when-platform-available into lp:mir
| Status: | Merged |
|---|---|
| Approved by: | Cemil Azizoglu on 2015-08-06 |
| Approved revision: | 2813 |
| Merged at revision: | 2822 |
| Proposed branch: | lp:~andreas-pokorny/mir/disable-android-input-stack-when-platform-available |
| Merge into: | lp:mir |
| Diff against target: |
43 lines (+9/-21) 1 file modified
src/server/input/default_configuration.cpp (+9/-21) |
| To merge this branch: | bzr merge lp:~andreas-pokorny/mir/disable-android-input-stack-when-platform-available |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Cemil Azizoglu (community) | Approve on 2015-08-06 | ||
| Alberto Aguirre | Approve on 2015-08-06 | ||
| Kevin DuBois (community) | Approve on 2015-08-05 | ||
| PS Jenkins bot | continuous-integration | Approve on 2015-08-05 | |
| Alan Griffiths | 2015-08-05 | Approve on 2015-08-05 | |
|
Review via email:
|
|||
Commit Message
remove the test for x11-input
Since stub input is now only set during tests that need to use fake input devices the check for the server platform name is no longer necessary. As soon as an input platform is configured the android input stack is disabled.
Still this is not the final solution - Instead we should probe for available platforms and also allow loading multiple platforms
Description of the Change
Since we just remove stub-input from the wrapper, and hence only see the input-stub library during test execution, there is currently no need to check for the input platform name inside DefaultServerCo
Hence from now on we disable the android input stack as soon as there is an input platform available.
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:2813
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Cemil Azizoglu (cemil-azizoglu) wrote : | # |
It works with mir-on-x.
So the assumption is no input platform will require Android input stack. I guess because input platforms are a replacement for it.

Looks good. I'm not sure I'm up-to-date with the way Mir-on-X input works today, so I'd like Cemil to approve too.