Increase Bubble diagnostic logging.
This commit is contained in:
parent
6a974c48ef
commit
867006d29c
1 changed files with 6 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue