Reduced logging

pull/204/head
M66B 4 years ago
parent 645830449a
commit f4105b7167

@ -713,14 +713,14 @@ public class ContactInfo {
for (String size : sizes.split(" ")) {
int min = Integer.MAX_VALUE;
for (String p : size.trim().split("[x|X]")) {
if (TextUtils.isEmpty(p))
if (TextUtils.isEmpty(p) || "any".equalsIgnoreCase(p))
continue;
try {
int x = Integer.parseInt(p);
if (x < min)
min = x;
} catch (NumberFormatException ex) {
// "any"
Log.w(ex);
}
}

Loading…
Cancel
Save