diff options
author | Nick Kralevich <nnk@google.com> | 2018-08-27 12:20:34 -0700 |
---|---|---|
committer | Nick Kralevich <nnk@google.com> | 2018-08-27 12:20:34 -0700 |
commit | 7ab971acf40277c6638fed0828c07c0eac6340e5 (patch) | |
tree | 9b146af7e687e50cbd01dc6b0180c7c689a73c68 /libutils/Unicode.cpp | |
parent | 3a6c7519a3af665d331aca947e30e2c7415ec329 (diff) |
keychords.cpp: O_RDWR -> O_RDONLY
The keycodes functionality in init only needs to read key events. It
doesn't need to inject key events. A read-only file descriptor is
perfectly sufficient.
Test: pressing volume-up/volume-down/power still generates a bugreport
Change-Id: Iecbf21c544914334006ac6258c03df390f417e80
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions