* commit 'a6f89a07f191c8f80d7cbce62b178f8bdc23ec18': Ignore some more generic USB device names.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user