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

Commit 4e074fe3 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

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

Change-Id: Ib518d8bb0314d54924eeda9c0c353be14f8ba1ea
parents b0dcc39b f6070c15
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;
            }
        }