Log setting of password complexity.

Log a security event when the password complexity is set using the new
setRequiredPasswordComplexity API.

Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest
Bug: 165573442
Change-Id: Ide337ff1f18d1ab0a34bba44004f4bd8b74474c4
4 files changed