Loading services/usb/java/com/android/server/usb/UsbPortManager.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -922,7 +922,7 @@ public class UsbPortManager { contaminantDetectionStatus); contaminantDetectionStatus); mPorts.put(portId, portInfo); mPorts.put(portId, portInfo); } else { } else { // Sanity check that ports aren't changing definition out from under us. // Validate that ports aren't changing definition out from under us. if (supportedModes != portInfo.mUsbPort.getSupportedModes()) { if (supportedModes != portInfo.mUsbPort.getSupportedModes()) { logAndPrint(Log.WARN, pw, "Ignoring inconsistent list of supported modes from " logAndPrint(Log.WARN, pw, "Ignoring inconsistent list of supported modes from " + "USB port driver (should be immutable): " + "USB port driver (should be immutable): " Loading Loading
services/usb/java/com/android/server/usb/UsbPortManager.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -922,7 +922,7 @@ public class UsbPortManager { contaminantDetectionStatus); contaminantDetectionStatus); mPorts.put(portId, portInfo); mPorts.put(portId, portInfo); } else { } else { // Sanity check that ports aren't changing definition out from under us. // Validate that ports aren't changing definition out from under us. if (supportedModes != portInfo.mUsbPort.getSupportedModes()) { if (supportedModes != portInfo.mUsbPort.getSupportedModes()) { logAndPrint(Log.WARN, pw, "Ignoring inconsistent list of supported modes from " logAndPrint(Log.WARN, pw, "Ignoring inconsistent list of supported modes from " + "USB port driver (should be immutable): " + "USB port driver (should be immutable): " Loading