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

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

Merge "Update incompatible charger checking rule" into main

parents 82e25a93 26f06f18
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3436,7 +3436,8 @@ public class KeyguardUpdateMonitorTest extends SysuiTestCase {
        when(mUsbPort.getStatus()).thenReturn(mUsbPortStatus);
        when(mUsbPort.supportsComplianceWarnings()).thenReturn(true);
        when(mUsbPortStatus.isConnected()).thenReturn(true);
        when(mUsbPortStatus.getComplianceWarnings()).thenReturn(new int[]{1});
        when(mUsbPortStatus.getComplianceWarnings())
                .thenReturn(new int[]{UsbPortStatus.COMPLIANCE_WARNING_DEBUG_ACCESSORY});
    }

    private Context getSpyContext() {