Skip to content

Commit d5a5008

Browse files
fix(render node, android): fix Kureev#489 issue
1 parent 24b456b commit d5a5008

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/reactnativecommunity/blurview/BlurViewManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class BlurViewManagerImpl {
2929
.getDecorView();
3030
ViewGroup rootView = decorView.findViewById(android.R.id.content);
3131
Drawable windowBackground = decorView.getBackground();
32-
if (Build.VERSION.SDK_INT >= 31) {
32+
if (Build.VERSION.SDK_INT >= 31 && blurView.isHardwareAccelerated()) {
3333
blurView
3434
.setupWith(rootView, new RenderEffectBlur())
3535
.setFrameClearDrawable(windowBackground)

0 commit comments

Comments
 (0)