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

Commit 8584142c 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 am: f6070c15

am: 4e074fe3

* commit '4e074fe3':
  Handle the uncommon case that a name is null

Change-Id: I7e85eedbdbcbfc7eb90e724ef8cd6d1dee7da5a9
parents c2f7941f 4e074fe3
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;
            }
        }