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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-android
Commits
1a511f2c
Commit
1a511f2c
authored
6 years ago
by
Sébastien Blin
Committed by
Adrien Béraud
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
notifications: fix intentRead's text
Change-Id: Ie025bd138523cd4499a83525aec8bca1da2b8d2d
parent
8b622bc5
Branches
release/201812
Branches containing commit
Tags
Tags containing commit
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
+1
-1
1 addition, 1 deletion
...c/main/java/cx/ring/services/NotificationServiceImpl.java
with
1 addition
and
1 deletion
ring-android/app/src/main/java/cx/ring/services/NotificationServiceImpl.java
+
1
−
1
View file @
1a511f2c
...
@@ -322,7 +322,7 @@ public class NotificationServiceImpl implements NotificationService {
...
@@ -322,7 +322,7 @@ public class NotificationServiceImpl implements NotificationService {
.
setClass
(
mContext
,
DRingService
.
class
)
.
setClass
(
mContext
,
DRingService
.
class
)
.
putExtra
(
ConversationFragment
.
KEY_ACCOUNT_ID
,
accountId
)
.
putExtra
(
ConversationFragment
.
KEY_ACCOUNT_ID
,
accountId
)
.
putExtra
(
ConversationFragment
.
KEY_CONTACT_RING_ID
,
contactId
);
.
putExtra
(
ConversationFragment
.
KEY_CONTACT_RING_ID
,
contactId
);
messageNotificationBuilder
.
addAction
(
0
,
mContext
.
getString
(
R
.
string
.
notif_
dismiss
),
PendingIntent
.
getService
(
mContext
,
Long
.
valueOf
(
System
.
currentTimeMillis
()).
intValue
(),
intentRead
,
0
));
messageNotificationBuilder
.
addAction
(
0
,
mContext
.
getString
(
R
.
string
.
notif_
mark_as_read
),
PendingIntent
.
getService
(
mContext
,
Long
.
valueOf
(
System
.
currentTimeMillis
()).
intValue
(),
intentRead
,
0
));
int
notificationId
=
getTextNotificationId
(
contactUri
);
int
notificationId
=
getTextNotificationId
(
contactUri
);
notificationManager
.
notify
(
notificationId
,
messageNotificationBuilder
.
build
());
notificationManager
.
notify
(
notificationId
,
messageNotificationBuilder
.
build
());
...
...
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