commit | 1500b8d9b301d8d68b2910692ec47d0e5b42c129 | [log] [tgz] |
---|---|---|
author | Amirhossein Simjour <asimjour@google.com> | Mon Jul 20 14:29:19 2015 -0400 |
committer | Pavlin Radoslavov <pavlin@google.com> | Mon Jul 27 23:09:14 2015 +0000 |
tree | b583bd6a8b0df54bf82b54b6b8d9ac7882e0bcd8 | |
parent | 760aa99b0f1fb7830dd5ff23ec8f5c5630b15989 [diff] |
Fix for uhid_event size check The uhid_event function used to expect that the return value of each read function call to match with the size of the struct uhid_event. Since the header file doesn't match the kernel driver, these two size don't always match. The exact size check is replaced with expecting the minimum required size. Bug: 20108348 Change-Id: Ib61537092b109296f8290d802b68fc2efe78888c