Merge "Fixed FaceEnrollIntro crash." into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
ea47aabe22
@@ -170,6 +170,8 @@ public class FaceEnrollIntroduction extends BiometricEnrollIntroduction {
|
||||
infoMessageRequireEyes.setText(getInfoMessageRequireEyes());
|
||||
}
|
||||
|
||||
|
||||
if (mFaceManager != null) {
|
||||
mFaceManager.addAuthenticatorsRegisteredCallback(
|
||||
new IFaceAuthenticatorsRegisteredCallback.Stub() {
|
||||
@Override
|
||||
@@ -186,6 +188,7 @@ public class FaceEnrollIntroduction extends BiometricEnrollIntroduction {
|
||||
onFaceStrengthChanged();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// This path is an entry point for SetNewPasswordController, e.g.
|
||||
// adb shell am start -a android.app.action.SET_NEW_PASSWORD
|
||||
|
Reference in New Issue
Block a user