Add check for mandatory biometric flag

Flags: android.hardware.biometrics.flag.mandatory_biometrics
Fixes: 370757426
Test: atest UtilsTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5a867c0480b24c2e4d0b15fc58eaba6b890ee4d1)
Merged-In: I3886e3bf67d3d08d420b945931b6b1f6052c3a57
Change-Id: I3886e3bf67d3d08d420b945931b6b1f6052c3a57
2 files changed