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

Commit 1a673627 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 am: e912c80b

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

Change-Id: I394b2a20fe307c0b10572238fc868cb93a8ab62b
parents 9f2335ea e912c80b
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()
            }