Prevent crash

This commit is contained in:
M66B
2021-02-12 17:12:39 +01:00
parent 16120e52e2
commit 6c0761c06d
3 changed files with 6 additions and 0 deletions

View File

@@ -197,6 +197,8 @@ public class ActivitySignature extends ActivityBase {
etText.setText(HtmlHelper.fromHtml(html, new Html.ImageGetter() {
@Override
public Drawable getDrawable(String source) {
if (source != null && source.startsWith("cid:"))
source = null;
return ImageHelper.decodeImage(ActivitySignature.this, -1, source, true, 0, 1.0f, etText);
}
}, null, this));