Merge "Fix the null toString logic." into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
217d64daaa
@@ -286,7 +286,8 @@ class GetFlowUtils {
|
|||||||
pendingIntent = credentialEntry.pendingIntent,
|
pendingIntent = credentialEntry.pendingIntent,
|
||||||
fillInIntent = it.frameworkExtrasIntent,
|
fillInIntent = it.frameworkExtrasIntent,
|
||||||
credentialType = CredentialType.UNKNOWN,
|
credentialType = CredentialType.UNKNOWN,
|
||||||
credentialTypeDisplayName = credentialEntry.typeDisplayName.toString(),
|
credentialTypeDisplayName =
|
||||||
|
credentialEntry.typeDisplayName?.toString().orEmpty(),
|
||||||
userName = credentialEntry.title.toString(),
|
userName = credentialEntry.title.toString(),
|
||||||
displayName = credentialEntry.subtitle?.toString(),
|
displayName = credentialEntry.subtitle?.toString(),
|
||||||
icon = credentialEntry.icon.loadDrawable(context),
|
icon = credentialEntry.icon.loadDrawable(context),
|
||||||
|
|||||||
Reference in New Issue
Block a user