Increase Bubble diagnostic logging.

This commit is contained in:
Nicholas Tinsley 2023-09-26 16:55:46 -04:00 committed by Cody Henthorne
parent 6a974c48ef
commit 867006d29c

View file

@ -88,10 +88,13 @@ public final class BubbleUtil {
bubbleLoggingMessage.append("\nconversationChannel = null");
}
Log.d(TAG, bubbleLoggingMessage.toString());
return (Build.VERSION.SDK_INT < 31 || (notificationManager.areBubblesEnabled() && notificationManager.getBubblePreference() != NotificationManager.BUBBLE_PREFERENCE_NONE)) &&
(notificationManager.areBubblesAllowed() || (conversationChannel != null && conversationChannel.canBubble()));
boolean canBubble = (Build.VERSION.SDK_INT < 31 || (notificationManager.areBubblesEnabled() && notificationManager.getBubblePreference() != NotificationManager.BUBBLE_PREFERENCE_NONE)) &&
(notificationManager.areBubblesAllowed() || (conversationChannel != null && conversationChannel.canBubble()));
bubbleLoggingMessage.append("\nComputed canBubble: ").append(canBubble);
Log.d(TAG, bubbleLoggingMessage.toString());
return canBubble;
}
/**