summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Kiran S <krns@google.com> 2024-05-14 03:50:41 +0000
committer Kiran S <krns@google.com> 2024-05-14 11:02:17 +0000
commit32e94e57abfd71dd0ec560416c6c0c8b2e18acae (patch)
treeb9d128b13c0096fed25daf5164be2b701a924421 /libs/androidfw/FileStream.cpp
parentcdf3a13551c2950d1400fedf77502c310d177f9b (diff)
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions