summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
author Liran Binyamin <liranb@google.com> 2024-03-11 12:10:04 -0400
committer Liran Binyamin <liranb@google.com> 2024-03-11 13:36:17 -0400
commit2994d3bf469127cb866ea398a500e0ce4c40c1c7 (patch)
treea0914094c79ca3589ae55295f54cb2cfa06bc18a /libs
parent102745066f84c8e62c79dbfa26b5305ee9ae1c57 (diff)
Add logs when opening bubble from notification
Log a message when opening a bubble from a notification to check whether the request is deferred until the device is unlocked. Bug: 292732470 Test: N/A -- adding a log message Change-Id: If40527cbfe51f6d527909038da1327a14105086e
Diffstat (limited to 'libs')
-rw-r--r--libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleController.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleController.java b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleController.java
index 9585842a2014..4455a3caa7d9 100644
--- a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleController.java
+++ b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleController.java
@@ -1259,12 +1259,14 @@ public class BubbleController implements ConfigurationChangeListener,
* Expands and selects a bubble based on the provided {@link BubbleEntry}. If no bubble
* exists for this entry, and it is able to bubble, a new bubble will be created.
*
- * This is the method to use when opening a bubble via a notification or in a state where
+ * <p>This is the method to use when opening a bubble via a notification or in a state where
* the device might not be unlocked.
*
* @param entry the entry to use for the bubble.
*/
public void expandStackAndSelectBubble(BubbleEntry entry) {
+ ProtoLog.d(WM_SHELL_BUBBLES, "opening bubble from notification key=%s mIsStatusBarShade=%b",
+ entry.getKey(), mIsStatusBarShade);
if (mIsStatusBarShade) {
mNotifEntryToExpandOnShadeUnlock = null;