mirror of
https://github.com/moparisthebest/k-9
synced 2024-08-13 17:03:48 -04:00
Revert "Add work-around for Asus Transformer WebView display bug"
This reverts commit 78428e287b
.
This commit is contained in:
parent
54faf52f16
commit
94296ec7df
@ -179,13 +179,7 @@ public class MessageWebView extends RigidWebView {
|
|||||||
}
|
}
|
||||||
content += HtmlConverter.cssStylePre();
|
content += HtmlConverter.cssStylePre();
|
||||||
content += "</head><body>" + text + "</body></html>";
|
content += "</head><body>" + text + "</body></html>";
|
||||||
|
loadDataWithBaseURL("http://", content, "text/html", "utf-8", null);
|
||||||
// Workaround for asus transformer devices
|
|
||||||
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.JELLY_BEAN) {
|
|
||||||
loadData(content, "text/html; charset=UTF-8", "utf-8");
|
|
||||||
} else {
|
|
||||||
loadDataWithBaseURL("http://", content, "text/html", "utf-8", null);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user