ANDROID: Fix ABI issues related to changed hid_report_raw_event()

Upstream recently started passing the original buffer size through
hid_report_raw_event() in order to fix a few recently reported
vulnerabilities.  These issues also affect Android so we need this
change.  However, since it changes the function signature which breaks
ABI, we need to provide a wrapper.

Bug: 483018448
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: I2c50f89815a713391a6ae9510601a3a0ebfc4d5e
(cherry picked from commit 28ef5ece6941de3c35c2ba64ea6a9a2a8578d350)
1 file changed