Udfps Icon: don't update icon immediately
[SuperDroidBond: if we update it on FinishInflate, we run into errors - https://stagbin.tk/jytojdp]
Signed-off-by: SuperDroidBond <superdroidbond@yahoo.com>
diff --git a/packages/SystemUI/src/com/android/systemui/biometrics/UdfpsKeyguardView.java b/packages/SystemUI/src/com/android/systemui/biometrics/UdfpsKeyguardView.java
index 2068bab..9209589 100644
--- a/packages/SystemUI/src/com/android/systemui/biometrics/UdfpsKeyguardView.java
+++ b/packages/SystemUI/src/com/android/systemui/biometrics/UdfpsKeyguardView.java
@@ -102,8 +102,6 @@
AsyncLayoutInflater inflater = new AsyncLayoutInflater(mContext);
inflater.inflate(R.layout.udfps_keyguard_view_internal, this,
mLayoutInflaterFinishListener);
-
- updateIcon();
}
@Override
@@ -320,6 +318,7 @@
updateColor();
updateAlpha();
parent.addView(view);
+ updateIcon();
// requires call to invalidate to update the color
mLockScreenFp.addValueCallback(