commit | 2ccbe3a0359a1bd59d282400351f2e604d5aabb9 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Fri Aug 09 14:35:36 2019 -0700 |
committer | Siarhei Vishniakou <svv@google.com> | Wed Aug 14 16:00:10 2019 -0500 |
tree | 55938f3328f0687ba77f3071bc6ee98a5dfdac5f | |
parent | 796dabc14f93372050ad239eab51598ea860c8ec [diff] |
InputTransport: store fd in a unique_fd. Use unique_fd to hold the file descriptor, so that it gets protected from being closed by someone else by fdsan. Test: atest libinput_tests inputflinger_tests Change-Id: I08df199294f9ddd7646c7bcd637b9c035e3c1e12