1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-23 22:51:02 +00:00

Reduced logging

This commit is contained in:
M66B 2021-08-24 09:29:06 +02:00
parent 645830449a
commit f4105b7167

View file

@ -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);
}
}