commit | 6e0af90a70db24a23d581e06e0e9386acdcf6290 | [log] [tgz] |
---|---|---|
author | Ray Chi <raychi@google.com> | Thu Apr 08 17:48:49 2021 +0800 |
committer | Ray Chi <raychi@google.com> | Thu Apr 15 06:08:56 2021 +0000 |
tree | fdb85948817f3fc8b93010f9718146f023f8a7f5 | |
parent | bcc5b4c1ff0c5ac8299df40c2fa146c3345e2c61 [diff] |
Check usb functions support with USB Gadget Hal version Currently, UsbDeviceManager will send usb functions in GadgetFunction to Hal implementation without any check. It is possible to send the functions defined in newer Hal to older Hal implementation. This patch will add a check to avoid this symptom before sending the usb function. Bug: 182507868 Test: verified pass Change-Id: I621809b8c7236937ab4c76e3fa943d00f761922f