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

Skip to content
Commit 0c2a482e authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Add dump of InputConsumer to ViewRootImpl

To further debug ANR issues, add dump of InputConsumer-related objects
to ViewRootImpl

Example dump:

      android.view.ViewRootImpl$WindowInputEventReceiver
       mInputChannel: 25697fd com.google.android.pixel.setupwizard/com.google.android.pixel.setupwizard.user.WelcomeActivity (client)
       mSeqMap: {}
       mReceiverPtr:
        mInputConsumer:
          mResampleTouch = true
          mChannel = 25697fd com.google.android.pixel.setupwizard/com.google.android.pixel.setupwizard.user.WelcomeActivity (client)
          mMsgDeferred: false
          Batches:
              <empty>
          mSeqChains:
              <empty>

        mBatchedInputEventPending: false
        mFinishQueue:
          <empty>

    Choreographer:
      mFrameScheduled=false
      mLastFrameTime=1625545 (8 ms ago)

Bug: 160561987
Test: adb shell dumpsys activity -v all | grep -i input -C 50
Test: adb shell dumpsys activity service SystemUIService | grep -i EventReceiver -C 20
Change-Id: I99807c264ced8eb939b90a30e2ff91775fbdec40
parent 3a824a6f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment