diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-04-07 23:28:35 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-04-07 23:28:42 +0200 |
commit | 903a3d17f2055bdc5ba4f316419b158ce453bfda (patch) | |
tree | f7048f145227143c22122574579eb0d3ff3e118e /src/main/java/de/pixart/messenger/services/ContactChooserTargetService.java | |
parent | b1daabbb86e41d0a07737e0951530322f1cdedfe (diff) |
return contact and account.getServer() as String
Diffstat (limited to 'src/main/java/de/pixart/messenger/services/ContactChooserTargetService.java')
-rw-r--r-- | src/main/java/de/pixart/messenger/services/ContactChooserTargetService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/services/ContactChooserTargetService.java b/src/main/java/de/pixart/messenger/services/ContactChooserTargetService.java index 53a7b6625..e05c719dc 100644 --- a/src/main/java/de/pixart/messenger/services/ContactChooserTargetService.java +++ b/src/main/java/de/pixart/messenger/services/ContactChooserTargetService.java @@ -46,7 +46,7 @@ public class ContactChooserTargetService extends ChooserTargetService implements final int pixel = (int) (48 * getResources().getDisplayMetrics().density); for (int i = 0; i < Math.min(conversations.size(), MAX_TARGETS); ++i) { final Conversation conversation = conversations.get(i); - final String name = conversation.getName(); + final String name = conversation.getName().toString(); final Icon icon = Icon.createWithBitmap(mXmppConnectionService.getAvatarService().get(conversation, pixel)); final float score = 1 - (1.0f / MAX_TARGETS) * i; final Bundle extras = new Bundle(); |