Fixes some tests that call deprecated password complexity APIs.
Such APIs are ignored on automotive builds, hence the tests were
failing.
Test: atest MixedDeviceOwnerTest#testSecurityLoggingWithSingleUser \
MixedDeviceOwnerTestApi25#testPasswordRequirementsApi \
MixedProfileOwnerTest#testPasswordRequirementsApi \
MixedProfileOwnerTest#testPasswordMethodsLogged \
# on automotive and phone
Bug: 204252236
Fixes: 187658917
(cherry picked from commit c7d89845c1dbab4bda87f7679b8d6fa47708536d))
Merged-In: If0ee954b3deb27b68fa128aa4ab22a0c9b3baf27
Change-Id: If0ee954b3deb27b68fa128aa4ab22a0c9b3baf27
5 files changed