From fdbac77e829b7575e0986b7919ff545bae2144fe Mon Sep 17 00:00:00 2001 From: Daniel Sandler Date: Tue, 3 Jul 2012 14:30:10 -0400 Subject: [PATCH] Logs to track bug 6765842. It looks like we can get into a state where the notification panel gets un-expanded, leaving an unsightly mess where your status bar should be. This change adds some additional info to the dumpsys output. Bug: 6765842 Change-Id: Iecf2480bc7bdf5bb737863c0cbf9ad07d8523c0c --- .../android/systemui/statusbar/phone/PhoneStatusBar.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java index c0838c2ca7c60..b9e88a4960952 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java @@ -1926,9 +1926,14 @@ public class PhoneStatusBar extends BaseStatusBar { synchronized (mQueueLock) { pw.println("Current Status Bar state:"); pw.println(" mExpanded=" + mExpanded - + ", mExpandedVisible=" + mExpandedVisible); + + ", mExpandedVisible=" + mExpandedVisible + + ", mTrackingPosition=" + mTrackingPosition); pw.println(" mTicking=" + mTicking); pw.println(" mTracking=" + mTracking); + pw.println(" mNotificationPanel=" + + ((mNotificationPanel == null) + ? "null" + : (mNotificationPanel + " params=" + mNotificationPanel.getLayoutParams().debug("")))); pw.println(" mAnimating=" + mAnimating + ", mAnimY=" + mAnimY + ", mAnimVel=" + mAnimVel + ", mAnimAccel=" + mAnimAccel);