question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No blurring on Galaxy S10, Android 11

See original GitHub issue
  1. Library version: 1.6.6
  2. Device and OS version: Samsung Galaxy S10, Android 11
  3. Detailed steps to reproduce the issue: Open the screen where the BlurView should be. There is no blur, only overlay color. The problem doesn’t happen on other devices with Android 11 (or other versions of Android), seems to be a problem with Galaxy S10 specifically.
  4. XML layout and code for BlurView setup XML layout element:
<eightbitlab.com.blurview.BlurView
            android:id="@+id/blurView"
            android:layout_width="0dp"
            android:layout_height="90dp"
            app:blurOverlayColor="#80E8EBF3"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent" />

Code setup:

       val decorView: View = requireActivity().window.decorView
       val rootView = decorView.rootView as ViewGroup
       val windowBackground = decorView.background
       dataBinding.blurView.setupWith(rootView)
           .setFrameClearDrawable(windowBackground)
           .setBlurAlgorithm(RenderScriptBlur(requireContext()))
           .setBlurRadius(10f)
           .setBlurAutoUpdate(true)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Dimeziscommented, Jun 9, 2021

Thanks. I have S10 with Android 11, so will check later what’s going on

0reactions
Mykhailo-Liutovcommented, Jun 15, 2021

The order is like this: onViewCreated setupWith onResume onAttachedToWindow onSizeChanged

But I’m not getting the issue anymore, the blur works every time. Maybe a restart of the phone helped or something. If it appears again, I’ll provide you with details (perhaps the order of these events will change).

Read more comments on GitHub >

github_iconTop Results From Across the Web

S10e Severe camera issue after Android 11 / One UI 3.0 update
I have installed OpenCamera in the meantime. It not working as good as the Samsung Camera app, but the pictures are not blurred....
Read more >
What to do if Galaxy S10 camera is blurry (won't focus)
If your Galaxy S10 camera is blurry and not focusing as it should, ... Android uses this cache to load apps quickly but...
Read more >
[Updated] Here's why Samsung Galaxy S10 One UI 3.0 ...
Samsung had commenced the One UI 3.0 (Android 11) stable update ... The company had not really confirmed why they were forced to...
Read more >
Samsung stops rollout of Android 11-based One UI 3.0 for ...
This means that as of right now, the Android 11 update with the One UI 3.0 is no longer available for the users...
Read more >
PSA: Stable Galaxy S10 Android 11 One UI 3.0 update has ...
Android 11 update is no longer available for the Galaxy S10 ... Users are complaining about camera blur and the device heating up....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found