Merge "Ignore some more generic USB device names." into mnc-dev
This commit is contained in:
@@ -80,6 +80,12 @@ public class DiskInfo implements Parcelable {
|
|||||||
if (label.toLowerCase().contains("generic")) {
|
if (label.toLowerCase().contains("generic")) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (label.toLowerCase().startsWith("usb")) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (label.toLowerCase().startsWith("multiple")) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user