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

Commit e912c80b authored by Beverly Tai's avatar Beverly Tai Committed by Automerger Merge Worker
Browse files

Merge "Update sensor loc before showing auth ripple" into sc-v2-dev am: 1d472370

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15982783

Change-Id: Iece2b3ce62c5ee87ec65fcbf5acb5b4441452075
parents 2eaa8c07 1d472370
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -18,7 +18,6 @@ package com.android.systemui.biometrics

import android.animation.ValueAnimator
import android.content.Context
import android.content.res.Configuration
import android.graphics.PointF
import android.hardware.biometrics.BiometricSourceType
import android.util.DisplayMetrics
@@ -125,6 +124,7 @@ class AuthRippleController @Inject constructor(
            return
        }

        updateSensorLocation()
        if (biometricSourceType == BiometricSourceType.FINGERPRINT &&
            fingerprintSensorLocation != null) {
            mView.setSensorLocation(fingerprintSensorLocation!!)
@@ -266,9 +266,6 @@ class AuthRippleController @Inject constructor(

    private val configurationChangedListener =
        object : ConfigurationController.ConfigurationListener {
            override fun onConfigChanged(newConfig: Configuration?) {
                updateSensorLocation()
            }
            override fun onUiModeChanged() {
                updateRippleColor()
            }