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

Commit da96c949 authored by Philip P. Moltmann's avatar Philip P. Moltmann Committed by android-build-merger
Browse files

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

am: 80354c4d

* commit '80354c4d':
  Handle the uncommon case that a name is null

Change-Id: I2569b9c4a049698e1885d829f36fef15db22269c
parents 5e0f4e2e 80354c4d
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;
            }
        }