Merge "Fix missing combination check SINK/DEVICE"

This commit is contained in:
Treehugger Robot
2019-03-27 00:34:25 +00:00
committed by Gerrit Code Review

View File

@@ -855,7 +855,7 @@ public class UsbDeviceManager implements ActivityManagerInternal.ScreenObserver
&& status.isRoleCombinationSupported(UsbPort.POWER_ROLE_SOURCE,
UsbPort.DATA_ROLE_DEVICE)
&& status.isRoleCombinationSupported(UsbPort.POWER_ROLE_SINK,
UsbPort.DATA_ROLE_HOST);
UsbPort.DATA_ROLE_DEVICE);
args.recycle();
updateUsbNotification(false);