Use safe calls for icons.
Fix: 267767229 Test: local deployment Change-Id: Iad8b6d55046c5d06c2dfe652bad8f502a394b3f6
This commit is contained in:
committed by
Anvesh Renikindi
parent
6a1f2b0819
commit
e5a86aaf74
@@ -198,7 +198,7 @@ class GetFlowUtils {
|
||||
credentialTypeDisplayName = credentialEntry.typeDisplayName.toString(),
|
||||
userName = credentialEntry.username.toString(),
|
||||
displayName = credentialEntry.displayName?.toString(),
|
||||
icon = credentialEntry.icon.loadDrawable(context),
|
||||
icon = credentialEntry.icon?.loadDrawable(context),
|
||||
lastUsedTimeMillis = credentialEntry.lastUsedTime,
|
||||
))
|
||||
}
|
||||
@@ -213,7 +213,7 @@ class GetFlowUtils {
|
||||
credentialTypeDisplayName = credentialEntry.typeDisplayName.toString(),
|
||||
userName = credentialEntry.username.toString(),
|
||||
displayName = credentialEntry.displayName?.toString(),
|
||||
icon = credentialEntry.icon.loadDrawable(context),
|
||||
icon = credentialEntry.icon?.loadDrawable(context),
|
||||
lastUsedTimeMillis = credentialEntry.lastUsedTime,
|
||||
))
|
||||
}
|
||||
@@ -228,7 +228,7 @@ class GetFlowUtils {
|
||||
credentialTypeDisplayName = credentialEntry.typeDisplayName.toString(),
|
||||
userName = credentialEntry.title.toString(),
|
||||
displayName = credentialEntry.subtitle?.toString(),
|
||||
icon = credentialEntry.icon.loadDrawable(context),
|
||||
icon = credentialEntry.icon?.loadDrawable(context),
|
||||
lastUsedTimeMillis = credentialEntry.lastUsedTime,
|
||||
))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user