Rename Messages notification group and channel.
This commit is contained in:
parent
4b7d87c6bc
commit
d46a9f6d1d
2 changed files with 4 additions and 4 deletions
|
@ -510,10 +510,10 @@ public class NotificationChannels {
|
||||||
|
|
||||||
@TargetApi(26)
|
@TargetApi(26)
|
||||||
private static void onCreate(@NonNull Context context, @NonNull NotificationManager notificationManager) {
|
private static void onCreate(@NonNull Context context, @NonNull NotificationManager notificationManager) {
|
||||||
NotificationChannelGroup messagesGroup = new NotificationChannelGroup(CATEGORY_MESSAGES, context.getResources().getString(R.string.NotificationChannel_group_messages));
|
NotificationChannelGroup messagesGroup = new NotificationChannelGroup(CATEGORY_MESSAGES, context.getResources().getString(R.string.NotificationChannel_group_chats));
|
||||||
notificationManager.createNotificationChannelGroup(messagesGroup);
|
notificationManager.createNotificationChannelGroup(messagesGroup);
|
||||||
|
|
||||||
NotificationChannel messages = new NotificationChannel(getMessagesChannel(context), context.getString(R.string.NotificationChannel_messages), NotificationManager.IMPORTANCE_HIGH);
|
NotificationChannel messages = new NotificationChannel(getMessagesChannel(context), context.getString(R.string.NotificationChannel_channel_messages), NotificationManager.IMPORTANCE_HIGH);
|
||||||
NotificationChannel calls = new NotificationChannel(CALLS, context.getString(R.string.NotificationChannel_calls), NotificationManager.IMPORTANCE_HIGH);
|
NotificationChannel calls = new NotificationChannel(CALLS, context.getString(R.string.NotificationChannel_calls), NotificationManager.IMPORTANCE_HIGH);
|
||||||
NotificationChannel failures = new NotificationChannel(FAILURES, context.getString(R.string.NotificationChannel_failures), NotificationManager.IMPORTANCE_HIGH);
|
NotificationChannel failures = new NotificationChannel(FAILURES, context.getString(R.string.NotificationChannel_failures), NotificationManager.IMPORTANCE_HIGH);
|
||||||
NotificationChannel backups = new NotificationChannel(BACKUPS, context.getString(R.string.NotificationChannel_backups), NotificationManager.IMPORTANCE_LOW);
|
NotificationChannel backups = new NotificationChannel(BACKUPS, context.getString(R.string.NotificationChannel_backups), NotificationManager.IMPORTANCE_LOW);
|
||||||
|
|
|
@ -1717,14 +1717,14 @@
|
||||||
<string name="TurnOffContactJoinedNotificationsActivity__turn_off_contact_joined_signal">Turn off contact joined Signal notifications? You can enable them again in Signal > Settings > Notifications.</string>
|
<string name="TurnOffContactJoinedNotificationsActivity__turn_off_contact_joined_signal">Turn off contact joined Signal notifications? You can enable them again in Signal > Settings > Notifications.</string>
|
||||||
|
|
||||||
<!-- Notification Channels -->
|
<!-- Notification Channels -->
|
||||||
<string name="NotificationChannel_messages">Default</string>
|
<string name="NotificationChannel_channel_messages">Messages</string>
|
||||||
<string name="NotificationChannel_calls">Calls</string>
|
<string name="NotificationChannel_calls">Calls</string>
|
||||||
<string name="NotificationChannel_failures">Failures</string>
|
<string name="NotificationChannel_failures">Failures</string>
|
||||||
<string name="NotificationChannel_backups">Backups</string>
|
<string name="NotificationChannel_backups">Backups</string>
|
||||||
<string name="NotificationChannel_locked_status">Lock status</string>
|
<string name="NotificationChannel_locked_status">Lock status</string>
|
||||||
<string name="NotificationChannel_app_updates">App updates</string>
|
<string name="NotificationChannel_app_updates">App updates</string>
|
||||||
<string name="NotificationChannel_other">Other</string>
|
<string name="NotificationChannel_other">Other</string>
|
||||||
<string name="NotificationChannel_group_messages">Messages</string>
|
<string name="NotificationChannel_group_chats">Chats</string>
|
||||||
<string name="NotificationChannel_missing_display_name">Unknown</string>
|
<string name="NotificationChannel_missing_display_name">Unknown</string>
|
||||||
<string name="NotificationChannel_voice_notes">Voice Notes</string>
|
<string name="NotificationChannel_voice_notes">Voice Notes</string>
|
||||||
<string name="NotificationChannel_contact_joined_signal">Contact joined Signal</string>
|
<string name="NotificationChannel_contact_joined_signal">Contact joined Signal</string>
|
||||||
|
|
Loading…
Add table
Reference in a new issue