Fix flaky tests

Test: atest FingerprintProviderTest
Test: atest FaceProviderTest
Bug: 285787206
(cherry picked from commit b136cea560a5f6f17fb10f57e858175e72005e6a)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:115d74f1aaa8293184a7cba5b0160ae86a2be1f0)
Merged-In: I6546759ae1288abff967a4f624a90f3800687d5a
Change-Id: I6546759ae1288abff967a4f624a90f3800687d5a
4 files changed