mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-12 06:08:25 -05:00
Push the webview's renderpriority from NORMAL to HIGH - it's cargo-cult
performance improvement, but it certainly doesn't hurt
This commit is contained in:
parent
983d7ad48f
commit
43cb54594b
@ -880,6 +880,8 @@ public class MessageView extends K9Activity implements OnClickListener
|
|||||||
|
|
||||||
webSettings.setSupportZoom(true);
|
webSettings.setSupportZoom(true);
|
||||||
webSettings.setLoadsImagesAutomatically(true);
|
webSettings.setLoadsImagesAutomatically(true);
|
||||||
|
webSettings.setRenderPriority(WebSettings.RenderPriority.HIGH);
|
||||||
|
|
||||||
if (K9.zoomControlsEnabled())
|
if (K9.zoomControlsEnabled())
|
||||||
{
|
{
|
||||||
webSettings.setBuiltInZoomControls(true);
|
webSettings.setBuiltInZoomControls(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user