Commit ff474434 authored by Amit Kumar's avatar Amit Kumar 💻
Browse files

Change blur scheme to native instead of OpenGL as OpenGL causes trouble on some devices

parent 92e74a1c
Pipeline #58207 passed with stage
in 7 minutes and 20 seconds
......@@ -12,7 +12,7 @@ class BlurWallpaperFilter(private val context: Context) : WallpaperFilter {
override fun apply(wallpaper: Bitmap): WallpaperFilter.ApplyTask {
return WallpaperFilter.ApplyTask.create { emitter ->
HokoBlur.with(context)
.scheme(HokoBlur.SCHEME_OPENGL)
.scheme(HokoBlur.SCHEME_NATIVE)
.mode(HokoBlur.MODE_STACK)
.radius(blurRadius)
.sampleFactor(8f)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment