Added fake touchscreen daemon to make builtin apk work
Several Android builtin packages would pick up the system resources
about touchscreen. If there is no touchscreen, the ones suffixing
with '-notouch' would be taken. However, by default, resource layout
doesn't come with '-notouch', and Beagleboard has no touchscreen on
board physically. Thus, Android core will crash due to lacking of
proper resources.
Our solution is to write a dedicated daemon to register userspace
input device as a fake touchscreen device. EventHub would regard
it as one of the input source, and no Android packages would complain.
(cherry picked from commit
641356fa32226baa8beb12d54160103063c7c8d4)
Signed-off-by: Tick Chen <tick@0xlab.org>
[faketsd] Run fake touch screen driver for res
DO NOT MERGE: Demo purpose only.
Running faketsd before system runs and Android will think the system
having resource of touchscreen, and will try to access resource of
fingers.