Merge "Fix missing combination check SINK/DEVICE"

am: 25a7e6ed25

Change-Id: I3b8e25d60b051785c486555176472fd072163885
This commit is contained in:
Badhri Jagan Sridharan
2019-03-26 17:54:08 -07:00
committed by android-build-merger

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);