diff options
| author | 2023-03-08 22:38:34 +0000 | |
|---|---|---|
| committer | 2023-03-08 23:25:51 +0000 | |
| commit | dd9add8ef345baf6582eb0e3fc830053d213e04c (patch) | |
| tree | 8e02a4f82d61274fa0ced3314a28097703f7bd64 /libs/input/PointerController.cpp | |
| parent | 2acd6320c93f3b9336f4ccc39f83368600468133 (diff) | |
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
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions