Delay invoking biometric prompt.
Fix: 169323687 Test: manual Change-Id: Iff00caaace97df6da476fd429ebf24bb6b1e14e1
This commit is contained in:
@@ -150,17 +150,6 @@ public class ConfirmDeviceCredentialActivity extends FragmentActivity {
|
||||
}
|
||||
};
|
||||
|
||||
private String getStringForError(int errorCode) {
|
||||
switch (errorCode) {
|
||||
case BiometricConstants.BIOMETRIC_ERROR_USER_CANCELED:
|
||||
return getString(com.android.internal.R.string.biometric_error_user_canceled);
|
||||
case BiometricConstants.BIOMETRIC_ERROR_CANCELED:
|
||||
return getString(com.android.internal.R.string.biometric_error_canceled);
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
Reference in New Issue
Block a user