Loading tests/robotests/src/com/android/settings/testutils/BatteryTestUtils.java +1 −1 Original line number Diff line number Diff line Loading @@ -219,7 +219,7 @@ public class BatteryTestUtils { when(mockUsbPort.supportsComplianceWarnings()).thenReturn(true); when(mockUsbPortStatus.isConnected()).thenReturn(true); when(mockUsbPortStatus.getComplianceWarnings()) .thenReturn(new int[]{UsbPortStatus.COMPLIANCE_WARNING_OTHER}); .thenReturn(new int[]{UsbPortStatus.COMPLIANCE_WARNING_DEBUG_ACCESSORY}); } /** Loading Loading
tests/robotests/src/com/android/settings/testutils/BatteryTestUtils.java +1 −1 Original line number Diff line number Diff line Loading @@ -219,7 +219,7 @@ public class BatteryTestUtils { when(mockUsbPort.supportsComplianceWarnings()).thenReturn(true); when(mockUsbPortStatus.isConnected()).thenReturn(true); when(mockUsbPortStatus.getComplianceWarnings()) .thenReturn(new int[]{UsbPortStatus.COMPLIANCE_WARNING_OTHER}); .thenReturn(new int[]{UsbPortStatus.COMPLIANCE_WARNING_DEBUG_ACCESSORY}); } /** Loading