Fix test failure in BiometricsUnlockControllerTest
onBiometricAuthenticated_onLockScreen checks if animateCollapsePanels is triggered. Since keyguard remote animation is enabled, the keygaurd unlock controller will fling the panel collapsed when it's ready, so animateCollapsePanels is not triggered here anymore. Bug: 243919840 Test: atest BiometricsUnlockControllerTest Change-Id: Id5464482112bd7533d47fcf418a3e8b49ceb4ba6
This commit is contained in:
@@ -314,13 +314,6 @@ public class BiometricsUnlockControllerTest extends SysuiTestCase {
|
||||
mBiometricUnlockController.startWakeAndUnlock(
|
||||
BiometricUnlockController.MODE_UNLOCK_COLLAPSING);
|
||||
|
||||
// THEN we collpase the panels and notify authenticated
|
||||
verify(mShadeController).animateCollapsePanels(
|
||||
/* flags */ anyInt(),
|
||||
/* force */ eq(true),
|
||||
/* delayed */ eq(false),
|
||||
/* speedUpFactor */ anyFloat()
|
||||
);
|
||||
verify(mStatusBarKeyguardViewManager).notifyKeyguardAuthenticated(
|
||||
/* strongAuth */ eq(false));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user