Revert "Return enrollment consent status to caller."
This reverts commit eb1dac69f0
.
Reason for revert: Based on bisection, this CL is the root cause for bug 192420564, which breaks Setup Wizard.
Bug: 192420564
Change-Id: I8d9aee7fe2415e134fcc981b0548bd9ce300db55
This commit is contained in:
@@ -20,6 +20,7 @@ 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;
|
||||
@@ -106,4 +107,11 @@ 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