Revert "usb: Temporarily disable compliance warning"
This reverts commit f178319b4a867eb9b1e0fe898ef8933bd3c55303.
Bug: 279251052
Change-Id: Ic67b94da213357af05a5c6e14e15946a02af7fba
diff --git a/usb/usb/Usb.cpp b/usb/usb/Usb.cpp
index 7378fc1..74f6868 100644
--- a/usb/usb/Usb.cpp
+++ b/usb/usb/Usb.cpp
@@ -819,9 +819,7 @@
status = getPortStatusHelper(usb, currentPortStatus);
queryMoistureDetectionStatus(currentPortStatus);
queryPowerTransferStatus(currentPortStatus);
-#if 0 /* b/278018111 disable compliance warning; revert it after fixing the issue */
queryNonCompliantChargerStatus(currentPortStatus);
-#endif
if (usb->mCallback != NULL) {
ScopedAStatus ret = usb->mCallback->notifyPortStatusChange(*currentPortStatus,
status);