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:
@@ -43,6 +43,7 @@ import com.android.launcher3.util.MultiValueAlpha;
|
||||
import com.android.quickstep.SystemUiProxy;
|
||||
import com.android.wm.shell.common.bubbles.BubbleBarLocation;
|
||||
|
||||
import java.io.PrintWriter;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
import java.util.function.Consumer;
|
||||
@@ -598,4 +599,19 @@ public class BubbleBarViewController {
|
||||
/** Called when bounds have changed */
|
||||
void onBoundsChanged();
|
||||
}
|
||||
|
||||
/** Dumps the state of BubbleBarViewController. */
|
||||
public void dump(PrintWriter pw) {
|
||||
pw.println("Bubble bar view controller state:");
|
||||
pw.println(" mHiddenForSysui: " + mHiddenForSysui);
|
||||
pw.println(" mHiddenForNoBubbles: " + mHiddenForNoBubbles);
|
||||
pw.println(" mShouldShowEducation: " + mShouldShowEducation);
|
||||
pw.println(" mBubbleBarTranslationY.value: " + mBubbleBarTranslationY.value);
|
||||
pw.println(" mBubbleBarSwipeUpTranslationY: " + mBubbleBarSwipeUpTranslationY);
|
||||
if (mBarView != null) {
|
||||
mBarView.dump(pw);
|
||||
} else {
|
||||
pw.println(" Bubble bar view is null!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user