mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-03-03 15:58:40 +00:00
Log notification posting exception when encountered.
This commit is contained in:
committed by
Greyson Parrelli
parent
1ac19e84c2
commit
46844ced7c
@@ -480,7 +480,7 @@ object NotificationFactory {
|
||||
notify(notificationId, notification)
|
||||
Log.internal().i(TAG, "Posted notification: $notification")
|
||||
} catch (e: SecurityException) {
|
||||
Log.i(TAG, "Security exception when posting notification, clearing ringtone")
|
||||
Log.w(TAG, "Security exception when posting notification, clearing ringtone", e)
|
||||
if (threadRecipient != null) {
|
||||
SignalExecutors.BOUNDED.execute {
|
||||
SignalDatabase.recipients.setMessageRingtone(threadRecipient.id, null)
|
||||
|
||||
Reference in New Issue
Block a user