UsbGadgetHal: Add null check in getCurrentUsbFunctions()

Avoid dereferencing if the callback parameter is null.

Change-Id: I9da79fd92f44abf0175e2ca311f0247b49bace1d
1 file changed
tree: f5ca86a6d4f72982ee9a571efafb03641e61ebf4
  1. etc/
  2. hal/
  3. vendor_product.mk