forked from upstream-mirrors/quik
Fix PII leaked in logs
Conversation.title was being used in logging, which is either contact name, or phone number.
This commit is contained in:
@@ -101,7 +101,7 @@ class ShortcutManagerImpl @Inject constructor(
|
|||||||
|
|
||||||
@TargetApi(29)
|
@TargetApi(29)
|
||||||
private fun createShortcutForConversation(conversation: Conversation): ShortcutInfoCompat {
|
private fun createShortcutForConversation(conversation: Conversation): ShortcutInfoCompat {
|
||||||
Timber.v("creating shortcut for conversation ${conversation.id} : ${conversation.getTitle()}")
|
Timber.v("creating shortcut for conversation ${conversation.id}")
|
||||||
val icon = when {
|
val icon = when {
|
||||||
conversation.recipients.size == 1 -> {
|
conversation.recipients.size == 1 -> {
|
||||||
val recipient = conversation.recipients.first()!!
|
val recipient = conversation.recipients.first()!!
|
||||||
|
|||||||
Reference in New Issue
Block a user