Skip to content
Commit 41802905 authored by Daniel Peykov's avatar Daniel Peykov Committed by Ricky Niu
Browse files

Fix possible NPE when matching accessory version

As UsbAccessory#getVersion is nullable, a NPE can occur if the manufacturer/model match.

Bug: 172002066
Bug: 178227159
Bug: 180055624
Change-Id: I751a01e3d182e01e5a9dbc011b60535997f9bc15
(cherry picked from commit 25dca30e)
parent 6628f4e7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment