extract string

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2019-02-19 14:15:34 +01:00
parent 5afa099d3b
commit 5f7b25f8a1
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7
2 changed files with 2 additions and 1 deletions

View file

@ -195,7 +195,7 @@ public class NotificationJob extends Job {
.setColor(ThemeUtils.primaryColor(account, false, context))
.setShowWhen(true)
.setSubText(account.name)
.setContentTitle("New Notification")
.setContentTitle(context.getString(R.string.new_notification))
.setSound(RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION))
.setAutoCancel(true)
.setVisibility(NotificationCompat.VISIBILITY_PUBLIC)

View file

@ -862,4 +862,5 @@
<string name="remove_notification_failed">Failed to remove notification.</string>
<string name="notification_action_failed">Failed to execute action.</string>
<string name="remove_push_notification">Remove</string>
<string name="new_notification">New Notification</string>
</resources>