mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-30 19:56:10 +00:00
Fixed rare crash
This commit is contained in:
parent
406fad2779
commit
107622992a
1 changed files with 2 additions and 1 deletions
|
@ -43,6 +43,7 @@ import android.text.style.TypefaceSpan;
|
|||
import android.text.style.URLSpan;
|
||||
import android.text.style.UnderlineSpan;
|
||||
|
||||
import java.lang.reflect.Array;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
|
@ -603,7 +604,7 @@ public class HtmlEx {
|
|||
at eu.faircode.email.FragmentCompose$54.onExecute(SourceFile:1)
|
||||
at eu.faircode.email.SimpleTask$2.run(SourceFile:5)
|
||||
*/
|
||||
return (T[]) new Object[0];
|
||||
return (T[]) Array.newInstance(type, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue