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

Commit a424b43e authored by Daichi Hirono's avatar Daichi Hirono Committed by Android (Google) Code Review
Browse files

Merge "Skip an interface that does not have MTP interface class."

parents 2a4e18da d6dabe95
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -133,6 +133,10 @@ MtpDevice* MtpDevice::open(const char* deviceName, int fd) {
                    printf("no MTP string\n");
                }
            }
#else
            else {
                continue;
            }
#endif
            // if we got here, then we have a likely MTP or PTP device