Merge lp:~dandrader/mir/hack_lp1233944 into lp:mir
Status: | Superseded | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~dandrader/mir/hack_lp1233944 | ||||
Merge into: | lp:mir | ||||
Diff against target: |
27 lines (+9/-1) 1 file modified
3rd_party/android-input/android/frameworks/base/services/input/EventHub.cpp (+9/-1) |
||||
To merge this branch: | bzr merge lp:~dandrader/mir/hack_lp1233944 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Carr (community) | Needs Fixing | ||
PS Jenkins bot | continuous-integration | Pending | |
Review via email: mp+188889@code.launchpad.net |
This proposal has been superseded by a proposal from 2013-10-02.
Commit message
Fix for LP#1233944
Fixes the Mir-side of bug https:/
Event files are first created with root:root permissions and only later
udev rules are applied to it, changing its permissions to root:android-input
and therefore making it readable by unity8-mir
in short: Retry opening a file once its permissions changed as it might be
readable now.
The best thing to do is replacing usage of inotify with libudev, but that's a
way bigger change that will left to be done at a later time.
Description of the change
Fixes bug 1233944.
But further work might be required (likely outside mir) due to the following error message when android-input loads the autopilot-finger device file:
"""
[InputReader] Touch device 'autopilot-finger' did not report support for X or Y axis! The device will be inoperable.
"""
+1