Animate away instead of suddenly disappearing

In certain cases, such as when callers cancel authentication,
we are not animating away nicely. This fixes it.

Bug: 152240892
Test: atest android.server.biometrics.BiometricSimpleTests#testBiometricCancellation
Change-Id: I7e23de1453856afa2aec877792f8bdb76475d592
This commit is contained in:
Kevin Chyn
2021-04-01 23:33:09 -07:00
parent 90c634b06c
commit f283ff72b6

View File

@@ -589,7 +589,7 @@ public class AuthContainerView extends LinearLayout
@Override
public void dismissFromSystemServer() {
removeWindowIfAttached();
animateAway(false /* sendReason */, 0 /* reason */);
}
@Override