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

Commit f1481a36 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't update light reveal amt on doze change if biometric is wakeUnlocking" into main

parents bafc2f8d 0aecc093
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -3147,8 +3147,15 @@ public class CentralSurfacesImpl implements CoreStartable, CentralSurfaces {
                public void onDozeAmountChanged(float linear, float eased) {
                    if (!lightRevealMigration()
                            && !(mLightRevealScrim.getRevealEffect() instanceof CircleReveal)) {
                        if (DeviceEntryUdfpsRefactor.isEnabled()) {
                            // If wakeAndUnlocking, this is handled in AuthRippleInteractor
                            if (!mBiometricUnlockController.isWakeAndUnlock()) {
                                mLightRevealScrim.setRevealAmount(1f - linear);
                            }
                        } else {
                            mLightRevealScrim.setRevealAmount(1f - linear);
                        }
                    }
                }

                @Override