From d3da19a26117a32707b215adf918a2e979b15748 Mon Sep 17 00:00:00 2001 From: Anthony Restaino Date: Wed, 27 Aug 2014 21:39:18 -0400 Subject: [PATCH] Fixed crash on API < 16 --- src/acr/browser/lightning/LightningView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/acr/browser/lightning/LightningView.java b/src/acr/browser/lightning/LightningView.java index 6ac89c0..51a7eee 100644 --- a/src/acr/browser/lightning/LightningView.java +++ b/src/acr/browser/lightning/LightningView.java @@ -82,9 +82,9 @@ public class LightningView { mWebView.setAnimationCacheEnabled(false); mWebView.setDrawingCacheEnabled(true); mWebView.setBackgroundColor(activity.getResources().getColor(android.R.color.white)); - mWebView.setBackground(null); if (API > 15) { + mWebView.setBackground(null); mWebView.getRootView().setBackground(null); } else { mWebView.getRootView().setBackgroundDrawable(null);