Merge "Fix missing combination check SINK/DEVICE"
am: 25a7e6ed25
Change-Id: I3b8e25d60b051785c486555176472fd072163885
This commit is contained in:
committed by
android-build-merger
commit
a890cc7c97
@@ -855,7 +855,7 @@ public class UsbDeviceManager implements ActivityManagerInternal.ScreenObserver
|
|||||||
&& status.isRoleCombinationSupported(UsbPort.POWER_ROLE_SOURCE,
|
&& status.isRoleCombinationSupported(UsbPort.POWER_ROLE_SOURCE,
|
||||||
UsbPort.DATA_ROLE_DEVICE)
|
UsbPort.DATA_ROLE_DEVICE)
|
||||||
&& status.isRoleCombinationSupported(UsbPort.POWER_ROLE_SINK,
|
&& status.isRoleCombinationSupported(UsbPort.POWER_ROLE_SINK,
|
||||||
UsbPort.DATA_ROLE_HOST);
|
UsbPort.DATA_ROLE_DEVICE);
|
||||||
|
|
||||||
args.recycle();
|
args.recycle();
|
||||||
updateUsbNotification(false);
|
updateUsbNotification(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user