mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 03:19:24 +01:00
Enable hardware acceleration for WebView
This commit is contained in:
@@ -1458,6 +1458,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
}
|
||||
});
|
||||
|
||||
// https://issuetracker.google.com/issues/36933699
|
||||
webView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
|
||||
webView.setBackgroundColor(Color.TRANSPARENT);
|
||||
|
||||
WebSettings settings = webView.getSettings();
|
||||
|
||||
Reference in New Issue
Block a user