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

Commit b521d636 authored by Beverly's avatar Beverly Committed by Beverly Tai
Browse files

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
parent c4096d15
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment