Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bfc4637d authored by YK Hung's avatar YK Hung Committed by Android (Google) Code Review
Browse files

Merge "Update incompatible charger checking rule" into udc-dev

parents 8e13abeb e2f19b7d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -190,6 +190,7 @@ public class BatteryTestUtils {
        when(mockUsbPort.getStatus()).thenReturn(mockUsbPortStatus);
        when(mockUsbPort.supportsComplianceWarnings()).thenReturn(true);
        when(mockUsbPortStatus.isConnected()).thenReturn(true);
        when(mockUsbPortStatus.getComplianceWarnings()).thenReturn(new int[]{1});
        when(mockUsbPortStatus.getComplianceWarnings())
                .thenReturn(new int[]{UsbPortStatus.COMPLIANCE_WARNING_OTHER});
    }
}