Dump some bubble data to dumpsys

Flag: NONE added dump logs
Bug: 350753857
Test: manual
       - adb shell dumpsys activity service com.android.quickstep
Change-Id: I19d328f99e5ba887aa508ea9ab16e9778f13698b
This commit is contained in:
Liran Binyamin committed 2024-07-09 10:34:19 -04:00
1 parent 892d358394
commit fad57132d3
5 files changed
+72

No files matched your search

@@ -36,6 +36,8 @@ import com.android.launcher3.util.MultiPropertyFactory;
import com.android.wm.shell.common.bubbles.BubbleBarLocation;
import com.android.wm.shell.shared.animation.PhysicsAnimator;
import java.io.PrintWriter;
/**
* Coordinates between controllers such as BubbleBarView and BubbleHandleViewController to
* create a cohesive animation between stashed/unstashed states.
@@ -456,4 +458,13 @@ public class BubbleStashController {
public void setHandleTranslationY(float ty) {
mHandleViewController.setTranslationYForSwipe(ty);
}
/** Dumps the state of BubbleStashController. */
public void dump(PrintWriter pw) {
pw.println("Bubble stash controller state:");
pw.println(" mIsStashed: " + mIsStashed);
pw.println(" mBubblesShowingOnOverview: " + mBubblesShowingOnOverview);
pw.println(" mBubblesShowingOnHome: " + mBubblesShowingOnHome);
pw.println(" mIsSysuiLocked: " + mIsSysuiLocked);
}
}