Remove ignore annotation @Ignore("b/282413778")

Use FaceUdater.enroll to avoid Proguard remove this method

Bug: 291194547
Test: atest FaceUpdaterTest
Change-Id: I3b0c5557c4b4ebab6828fae831697a2b1a4daea5
This commit is contained in:
Vincent Wang
2023-07-14 08:35:07 +00:00
parent 0b48ffdd6e
commit 91d6df7d60
2 changed files with 13 additions and 10 deletions

View File

@@ -50,8 +50,9 @@ public class FaceUpdater {
/** Wrapper around the {@link FaceManager#enroll} method. */
public void enroll(int userId, byte[] hardwareAuthToken, CancellationSignal cancel,
FaceManager.EnrollmentCallback callback, int[] disabledFeatures) {
mFaceManager.enroll(userId, hardwareAuthToken, cancel,
new NotifyingEnrollmentCallback(mContext, callback), disabledFeatures);
this.enroll(userId, hardwareAuthToken, cancel,
new NotifyingEnrollmentCallback(mContext, callback), disabledFeatures,
null, false);
}
/** Wrapper around the {@link FaceManager#enroll} method. */