Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit f0a3206c authored by SagarMakhar's avatar SagarMakhar Committed by Michael Bestas
Browse files

Apply monet to fingerprint authentication ripple animation

Change-Id: I15d0f9fee13647062c651219b527e01a539b6909
parent 47d0eb86
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@ import android.util.AttributeSet
import android.view.View
import android.view.animation.PathInterpolator
import com.android.internal.graphics.ColorUtils
import com.android.settingslib.Utils
import com.android.systemui.animation.Interpolators
import com.android.systemui.surfaceeffects.ripple.RippleShader

@@ -85,7 +86,7 @@ class AuthRippleView(context: Context?, attrs: AttributeSet?) : View(context, at
        }

    init {
        rippleShader.color = 0xffffffff.toInt() // default color
        rippleShader.color = Utils.getColorAttr(context, android.R.attr.colorAccent).defaultColor
        rippleShader.progress = 0f
        rippleShader.sparkleStrength = RIPPLE_SPARKLE_STRENGTH
        ripplePaint.shader = rippleShader