diff --git a/packages/CredentialManager/src/com/android/credentialmanager/getflow/GetCredentialComponents.kt b/packages/CredentialManager/src/com/android/credentialmanager/getflow/GetCredentialComponents.kt index 4183a5211556d..934b0aebf4177 100644 --- a/packages/CredentialManager/src/com/android/credentialmanager/getflow/GetCredentialComponents.kt +++ b/packages/CredentialManager/src/com/android/credentialmanager/getflow/GetCredentialComponents.kt @@ -561,7 +561,12 @@ fun AuthenticationEntryRow( enforceOneLine: Boolean = false, ) { Entry( - onClick = { onEntrySelected(authenticationEntryInfo) }, + onClick = if (authenticationEntryInfo.isUnlockedAndEmpty) { + {} + } // No-op + else { + { onEntrySelected(authenticationEntryInfo) } + }, iconImageBitmap = authenticationEntryInfo.icon.toBitmap().asImageBitmap(), entryHeadlineText = authenticationEntryInfo.title, entrySecondLineText = stringResource(