Skip to content

Commit

Permalink
Bump com.github.Dimezis:BlurView from version-1.6.6 to version-2.0.4 (#…
Browse files Browse the repository at this point in the history
…4220)

* Bump com.github.Dimezis:BlurView from version-1.6.6 to version-2.0.4

Bumps com.github.Dimezis:BlurView from version-1.6.6 to version-2.0.4.

---
updated-dependencies:
- dependency-name: com.github.Dimezis:BlurView
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix build: use convenience method which sets algorithm, remove functions matching defaults

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joris Pelgröm <joris.pelgrom@gmail.com>
  • Loading branch information
dependabot[bot] and jpelgrom committed Feb 24, 2024
1 parent 2e30f27 commit 48ac703
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
Expand Up @@ -14,7 +14,6 @@ import dagger.hilt.android.AndroidEntryPoint
import dagger.hilt.android.EntryPointAccessors
import dagger.hilt.android.components.ActivityComponent
import eightbitlab.com.blurview.BlurView
import eightbitlab.com.blurview.RenderScriptBlur
import io.homeassistant.companion.android.BaseActivity
import io.homeassistant.companion.android.R
import io.homeassistant.companion.android.authenticator.Authenticator
Expand Down Expand Up @@ -60,10 +59,7 @@ class SettingsActivity : BaseActivity() {

blurView = findViewById(R.id.blurView)
blurView.setupWith(window.decorView.rootView as ViewGroup)
.setBlurAlgorithm(RenderScriptBlur(this))
.setBlurAutoUpdate(true)
.setBlurRadius(8f)
.setHasFixedTransformationMatrix(false)
.setBlurEnabled(false)

authenticator = Authenticator(this, this, ::settingsActivityAuthenticationResult)
Expand Down
Expand Up @@ -72,7 +72,6 @@ import androidx.media3.ui.PlayerView
import androidx.webkit.WebViewCompat
import androidx.webkit.WebViewFeature
import dagger.hilt.android.AndroidEntryPoint
import eightbitlab.com.blurview.RenderScriptBlur
import io.homeassistant.companion.android.BaseActivity
import io.homeassistant.companion.android.BuildConfig
import io.homeassistant.companion.android.R
Expand Down Expand Up @@ -257,9 +256,7 @@ class WebViewActivity : BaseActivity(), io.homeassistant.companion.android.webvi
setStatusBarAndNavigationBarColor(colorLaunchScreenBackground, colorLaunchScreenBackground)

binding.blurView.setupWith(binding.root)
.setBlurAlgorithm(RenderScriptBlur(this))
.setBlurRadius(8f)
.setHasFixedTransformationMatrix(false)

exoPlayerView = binding.exoplayerView
exoPlayerView.visibility = View.GONE
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Expand Up @@ -12,7 +12,7 @@ androidSdk-wear-min = "26"
androidSdk-wear-target = "32"
appcompat = "1.6.1"
biometric = "1.1.0"
blurView = "version-1.6.6"
blurView = "version-2.0.4"
car-versions = "1.4.0-rc02"
changeLog = "3.5"
community-material-typeface = "7.0.96.0-kotlin"
Expand Down

0 comments on commit 48ac703

Please sign in to comment.