Skip to content
Snippets Groups Projects
Commit 484a373a authored by Adrien Béraud's avatar Adrien Béraud
Browse files

notifications: load contact data

Change-Id: I676dd7312dfd8712a6ad2d149b7c3207bc3a4fb6
parent e9c67fa1
No related branches found
No related tags found
No related merge requests found
...@@ -96,6 +96,8 @@ public class NotificationServiceImpl implements NotificationService { ...@@ -96,6 +96,8 @@ public class NotificationServiceImpl implements NotificationService {
@Inject @Inject
protected AccountService mAccountService; protected AccountService mAccountService;
@Inject @Inject
protected ContactService mContactService;
@Inject
protected PreferencesService mPreferencesService; protected PreferencesService mPreferencesService;
@Inject @Inject
protected HistoryService mHistoryService; protected HistoryService mHistoryService;
...@@ -263,6 +265,8 @@ public class NotificationServiceImpl implements NotificationService { ...@@ -263,6 +265,8 @@ public class NotificationServiceImpl implements NotificationService {
} }
TextMessage last = texts.lastEntry().getValue(); TextMessage last = texts.lastEntry().getValue();
String contactId = contactUri.getRawUriString(); String contactId = contactUri.getRawUriString();
mContactService.loadContactData(contact);
String contactName = contact.getDisplayName(); String contactName = contact.getDisplayName();
if (TextUtils.isEmpty(contactName)) if (TextUtils.isEmpty(contactName))
return; return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment