CtsDevicePolicyManagerTestCases testUnlockWorkProfile_deviceWidePassword failed

Device with FDE enable mode by fstab test case should not show the error message “FLAG_EVICT_CREDENTIAL_ENCRYPTION_KEY only applies to FBE devices”
Add a conditions to avoid the problem.

Bug: 213529354

Test: cts -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.ManagedProfilePasswordTest#testUnlockWorkProfile_deviceWidePassword

Change-Id: If8683d5a9d5af76c4e88c4d3d20f8f92cc787012
1 file changed