Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-android
Commits
484a373a
Commit
484a373a
authored
6 years ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
notifications: load contact data
Change-Id: I676dd7312dfd8712a6ad2d149b7c3207bc3a4fb6
parent
e9c67fa1
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ring-android/app/src/main/java/cx/ring/services/NotificationServiceImpl.java
+4
-0
4 additions, 0 deletions
...c/main/java/cx/ring/services/NotificationServiceImpl.java
with
4 additions
and
0 deletions
ring-android/app/src/main/java/cx/ring/services/NotificationServiceImpl.java
+
4
−
0
View file @
484a373a
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment