Update the USB device filter to support interface name
The interface name will be used as an additional parameter while filtering devices based on interface class, subclass and protocol. This will be used to correctly filter MTP devices based on interface. The current logic of only using class, subclass and protocol will incorrectly identify some devices interfaces as supporting MTP Test: atest UsbManagerTests, Manually verified that interface name is used for filtering MTP devices correctly Bug: 312828160 Flag: android.hardware.usb.flags.enable_interface_name_device_filter Change-Id: I7f6538864a0464cf0fedf677ef075ee98ef02b15
Loading
Please register or sign in to comment