Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 50d87a7f authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Add touch disabled state output in dumpsys

Bug: 17439581
Change-Id: I1e071e849b1196485b633716aebf19aebc63a4b2
parent 0b15e006
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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"
        ));
    }