Use LockPatternCheckerWrapper instead of directly calling static method
This way, in unit tests, we can inject a mocked wrapper so real methods won't be called. This avoids mockito-npe's that can happen when the static methods are called in the test and return on a background thread after the test has already finished. Flag: EXEMPT bugfix Test: atest KeyguardPasswordViewControllerTest Test: atest KeyguardPasswordViewControllerTest KeyguardPinBasedInputViewControllerTest KeyguardAbsKeyInputViewControllerTest KeyguardPinViewControllerTest KeyguardSecurityContainerControllerTest KeyguardSimPinViewControllerTest KeyguardSimPukViewControllerTest Fixes: 423646800 Change-Id: Ia5194336cd70f2e987d8e80bbb0959d1d127ef42
Loading
Please register or sign in to comment