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