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

Commit 47b872d9 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Ignore some more generic USB device names.

Bug: 21376386
Change-Id: I8c1b1cf9d881ad2795e9b15740ff511260572f1b
parent a6e772c8
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -80,6 +80,12 @@ public class DiskInfo implements Parcelable {
        if (label.toLowerCase().contains("generic")) {
            return false;
        }
        if (label.toLowerCase().startsWith("usb")) {
            return false;
        }
        if (label.toLowerCase().startsWith("multiple")) {
            return false;
        }
        return true;
    }