commit | c9cc52a2fa2f3978a2ab769c63deefe24ec1300f | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Mon Aug 27 12:20:34 2018 -0700 |
committer | Nick Kralevich <nnk@google.com> | Mon Aug 27 12:20:34 2018 -0700 |
tree | 9b146af7e687e50cbd01dc6b0180c7c689a73c68 | |
parent | d620ecbb280401a16dd2892ba87df3defa44fde4 [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