Reduced logging

pull/180/head
M66B 5 years ago
parent f5f56279b0
commit 3b79748148

@ -497,7 +497,7 @@ public class HtmlHelper {
size = "medium"; size = "medium";
sb.append("font-size:").append(size).append(";"); sb.append("font-size:").append(size).append(";");
} catch (NumberFormatException ex) { } catch (NumberFormatException ex) {
Log.w(ex); Log.i(ex);
} }
} }
@ -1110,7 +1110,7 @@ public class HtmlHelper {
try { try {
return Integer.parseInt(value); return Integer.parseInt(value);
} catch (NumberFormatException ex) { } catch (NumberFormatException ex) {
Log.w(ex); Log.i(ex);
} }
return null; return null;
@ -1238,7 +1238,7 @@ public class HtmlHelper {
Log.i("Color " + c + "=" + (color == null ? null : Long.toHexString(color))); Log.i("Color " + c + "=" + (color == null ? null : Long.toHexString(color)));
} catch (Throwable ex) { } catch (Throwable ex) {
Log.e("Color=" + c + ": " + ex); Log.i("Color=" + c + ": " + ex);
} }
if (color != null) { if (color != null) {
@ -1949,7 +1949,7 @@ public class HtmlHelper {
int color = Integer.parseInt(value.substring(1), 16) | 0xFF000000; int color = Integer.parseInt(value.substring(1), 16) | 0xFF000000;
ssb.setSpan(new ForegroundColorSpan(color), start, ssb.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); ssb.setSpan(new ForegroundColorSpan(color), start, ssb.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
} catch (NumberFormatException ex) { } catch (NumberFormatException ex) {
Log.w(ex); Log.i(ex);
} }
break; break;
case "text-decoration": case "text-decoration":

Loading…
Cancel
Save