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
Loading
Please register or sign in to comment