UsbGadgetHal: Add null check in getCurrentUsbFunctions()

Avoid dereferencing if the callback parameter is null.

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