From 50d87a7fb4fd146112ce1b080d618f67fe08884b Mon Sep 17 00:00:00 2001 From: Jorim Jaggi Date: Fri, 12 Sep 2014 21:43:35 +0200 Subject: [PATCH] Add touch disabled state output in dumpsys Bug: 17439581 Change-Id: I1e071e849b1196485b633716aebf19aebc63a4b2 --- .../src/com/android/systemui/statusbar/phone/PanelView.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java index f6d6af1594f52..873d528c8fe42 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java @@ -966,7 +966,7 @@ public abstract class PanelView extends FrameLayout { public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { pw.println(String.format("[PanelView(%s): expandedHeight=%f maxPanelHeight=%d closing=%s" - + " tracking=%s justPeeked=%s peekAnim=%s%s timeAnim=%s%s" + + " tracking=%s justPeeked=%s peekAnim=%s%s timeAnim=%s%s touchDisabled=%s" + "]", this.getClass().getSimpleName(), getExpandedHeight(), @@ -975,7 +975,8 @@ public abstract class PanelView extends FrameLayout { mTracking?"T":"f", mJustPeeked?"T":"f", mPeekAnimator, ((mPeekAnimator!=null && mPeekAnimator.isStarted())?" (started)":""), - mHeightAnimator, ((mHeightAnimator !=null && mHeightAnimator.isStarted())?" (started)":"") + mHeightAnimator, ((mHeightAnimator !=null && mHeightAnimator.isStarted())?" (started)":""), + mTouchDisabled?"T":"f" )); }