Revert "Revert "Return enrollment consent status to caller.""
This reverts commit c358adad56
.
Reason for revert: Applying original change with additional change for single sensor devices.
Bug: 192420564
Bug: 188847063
Test: manual enroll face & fingerprint via setup wizard (on fp, face, & fp+face device variants)
Change-Id: Idfaaa2b6f4611056f9999325bac8401e28a7510b
This commit is contained in:
@@ -20,7 +20,6 @@ import android.app.PendingIntent;
|
||||
import android.content.Intent;
|
||||
import android.hardware.face.FaceManager;
|
||||
import android.hardware.fingerprint.FingerprintManager;
|
||||
import android.util.Log;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.fragment.app.FragmentActivity;
|
||||
@@ -107,11 +106,4 @@ public class MultiBiometricEnrollHelper {
|
||||
hardwareAuthToken, mGkPwHandle, mUserId);
|
||||
}));
|
||||
}
|
||||
|
||||
void onActivityResult(int requestCode, int resultCode, Intent data) {
|
||||
Log.d(TAG, "RequestCode: " + requestCode + " resultCode: " + resultCode);
|
||||
BiometricUtils.removeGatekeeperPasswordHandle(mActivity, mGkPwHandle);
|
||||
mActivity.setResult(resultCode);
|
||||
mActivity.finish();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user