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

Commit 80354c4d authored by Philip P. Moltmann's avatar Philip P. Moltmann Committed by Android (Google) Code Review
Browse files

Merge "Handle the uncommon case that a name is null" into nyc-dev

parents bd2b9e0d 236b9e8e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -139,7 +139,7 @@ class MtpNotificationManager {
            if (usbInterface.getInterfaceClass() == UsbConstants.USB_SUBCLASS_VENDOR_SPEC &&
                    usbInterface.getInterfaceSubclass() == SUBCLASS_MTP &&
                    usbInterface.getInterfaceProtocol() == PROTOCOL_MTP &&
                    usbInterface.getName().equals("MTP")) {
                    "MTP".equals(usbInterface.getName())) {
                return true;
            }
        }