mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 03:48:08 +00:00
Commented out part of code only supported in Android Nougat (7) for now
This commit is contained in:
parent
1f6bce8830
commit
f1a45ce51c
1 changed files with 4 additions and 5 deletions
|
|
@ -115,10 +115,9 @@ public class Compatibility {
|
|||
|
||||
@SuppressWarnings("deprecation")
|
||||
public static Spanned fromHtml(String text) {
|
||||
if (Version.sdkAboveOrEqual(Version.API24_NOUGAT_70)) {
|
||||
return Html.fromHtml(text, 0); //Html.FROM_HTML_MODE_LEGACY
|
||||
} else {
|
||||
return Html.fromHtml(text);
|
||||
}
|
||||
/*if (Version.sdkAboveOrEqual(Version.API24_NOUGAT_70)) {
|
||||
return Html.fromHtml(text, Html.FROM_HTML_MODE_LEGACY);
|
||||
}*/
|
||||
return Html.fromHtml(text);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue