38e9f2320a
No need to open the device read write. Just open it read-only. This is a partial redo of https://android-review.googlesource.com/c/platform/system/core/+/334583 which was reverted in https://android-review.googlesource.com/c/platform/system/core/+/342483 Bug: 30861057 Test: ran getevent, saw correct output, played with device Change-Id: I426efd68f39dcd97d3ee23c13ed1a9ed96cb4c2e |
||
---|---|---|
.. | ||
upstream-netbsd/usr.bin/grep | ||
Android.bp | ||
generate-input.h-labels.py | ||
getevent.c | ||
getprop.cpp | ||
MODULE_LICENSE_APACHE2 | ||
NOTICE | ||
OWNERS | ||
r.c | ||
toolbox.c | ||
tools.h |