mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-21 19:48:29 +00:00
Increase Bubble diagnostic logging.
This commit is contained in:
committed by
Cody Henthorne
parent
6a974c48ef
commit
867006d29c
@@ -88,10 +88,13 @@ public final class BubbleUtil {
|
|||||||
bubbleLoggingMessage.append("\nconversationChannel = null");
|
bubbleLoggingMessage.append("\nconversationChannel = null");
|
||||||
}
|
}
|
||||||
|
|
||||||
Log.d(TAG, bubbleLoggingMessage.toString());
|
|
||||||
|
|
||||||
return (Build.VERSION.SDK_INT < 31 || (notificationManager.areBubblesEnabled() && notificationManager.getBubblePreference() != NotificationManager.BUBBLE_PREFERENCE_NONE)) &&
|
boolean canBubble = (Build.VERSION.SDK_INT < 31 || (notificationManager.areBubblesEnabled() && notificationManager.getBubblePreference() != NotificationManager.BUBBLE_PREFERENCE_NONE)) &&
|
||||||
(notificationManager.areBubblesAllowed() || (conversationChannel != null && conversationChannel.canBubble()));
|
(notificationManager.areBubblesAllowed() || (conversationChannel != null && conversationChannel.canBubble()));
|
||||||
|
|
||||||
|
bubbleLoggingMessage.append("\nComputed canBubble: ").append(canBubble);
|
||||||
|
Log.d(TAG, bubbleLoggingMessage.toString());
|
||||||
|
return canBubble;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user