summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/preferences
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/browser/preferences')
-rw-r--r--src/com/android/browser/preferences/WebViewPreview.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/browser/preferences/WebViewPreview.java b/src/com/android/browser/preferences/WebViewPreview.java
index 94598bc..a269dbd 100644
--- a/src/com/android/browser/preferences/WebViewPreview.java
+++ b/src/com/android/browser/preferences/WebViewPreview.java
@@ -79,6 +79,7 @@ public class WebViewPreview extends Preference implements OnSharedPreferenceChan
LayoutInflater inflater = LayoutInflater.from(getContext());
mRoot = inflater.inflate(R.layout.webview_preview, parent, false);
mWebView = (WebView) mRoot.findViewById(R.id.webview);
+ mWebView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
}
updatePreview();
return mRoot;