You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
api-impl: add misc stubs for Open Sudoku
This commit is contained in:
committed by
Mis012
parent
1fb5be92dc
commit
e5a6ee2b55
@@ -11,6 +11,10 @@ public class Html {
|
||||
}
|
||||
|
||||
public static Spanned fromHtml(String source) {
|
||||
return Html.fromHtml(source, 0);
|
||||
}
|
||||
|
||||
public static Spanned fromHtml(String source, int flags) {
|
||||
return new SpannableString(source.replace("<br/>", "\n")
|
||||
.replace("<br>", "\n")
|
||||
.replace(" ", " "));
|
||||
|
||||
Reference in New Issue
Block a user