summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Eric Biggers <ebiggers@google.com> 2022-12-02 22:53:37 +0000
committer Eric Biggers <ebiggers@google.com> 2022-12-02 22:54:10 +0000
commite72f2c18a6615c8becef647d319471bf9d0f0d36 (patch)
tree2ce29fbc7770687e584a4618c40ad2ba0c1ae943 /libs/androidfw/StringPool.cpp
parent95d7aa9fef9f63f7b14523dbe3df9da79a98632d (diff)
Convert locksettings unit tests to use FakeSettingsProvider
To mock out settings values in the locksettings unit tests, use com.android.internal.util.test.FakeSettingsProvider instead of the custom solution that was used before. This makes mocked settings accessible to SyntheticPasswordManager, via the Context using the standard methods. The previous solution only made mocked settings accessible to LockSettingsService itself, and only when the special accessor methods in LockSettingsService.Injector were used. Test: atest com.android.server.locksettings Bug: 254378141 Change-Id: I16cfc1fc25cc55e66121fc9512fec01915de4885
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions