Skip to content
Commit dd9add8e authored by Eric Biggers's avatar Eric Biggers
Browse files

Make the Factory Reset Protection unit tests work on TV

Some unit tests in LockscreenFrpTest and SyntheticPasswordTests are
broken on cf_x86_tv-userdebug because TV has
config_enableCredentialFactoryResetProtection set to false.  This isn't
a recent breakage -- it's been like this for a long time.

Fix this by mocking out the Resources so that the locksettings unit
tests work the same way on TV as on phone.

Bug: 272294822
Bug: 272295113
Test: atest com.android.server.locksettings # with cf_x86_tv-userdebug
Change-Id: I6296ca007112178867ed450057d5d2db8c94a09f
parent 2acd6320
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment