From 23c51273c039dbce46279fc3e6bc496c8c997c76 Mon Sep 17 00:00:00 2001 From: Greyson Parrelli Date: Mon, 3 Mar 2025 09:51:59 -0500 Subject: [PATCH] Add log for 'you may have new messages' notification. --- .../java/org/thoughtcrime/securesms/gcm/FcmFetchManager.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/org/thoughtcrime/securesms/gcm/FcmFetchManager.kt b/app/src/main/java/org/thoughtcrime/securesms/gcm/FcmFetchManager.kt index e5eb861f75..5994d229f6 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/gcm/FcmFetchManager.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/gcm/FcmFetchManager.kt @@ -75,6 +75,9 @@ object FcmFetchManager { Log.w(TAG, "May have messages notification kill switch") return } + + Log.w(TAG, "Notifying the user that they may have new messages.") + val mayHaveMessagesNotification: Notification = NotificationCompat.Builder(context, NotificationChannels.getInstance().ADDITIONAL_MESSAGE_NOTIFICATIONS) .setSmallIcon(R.drawable.ic_notification) .setContentTitle(context.getString(R.string.FcmFetchManager__you_may_have_messages))