Fix UsbPortStatus constructor arguments
USB V1.2 hal adds new parameters for the UsbPortStatus constructor.
The constructor changes from:
public UsbPortStatus(int currentMode, @UsbPowerRole int currentPowerRole,
@UsbDataRole int currentDataRole, int supportedRoleCombinations)
To:
public UsbPortStatus(int currentMode, int currentPowerRole, int currentDataRole,
int supportedRoleCombinations, int contaminantProtectionStatus,
int contaminantDetectionStatus)
Initialize the construtor with contaminant presence disabled.
Bug: 119642987
Bug: 117330206
Bug: 77606903
Test: Ran roboelectric tests
Change-Id: I8e1b29785e07abffa1f6ae7656ca697425f446e6
1 file changed