Arghya Mukherjee
Arghya Mukherjee

Reputation: 343

Not getting the package and current focus information when using dumpsys adb shell command

Not getting the package and current focus information when using: 1|m21:/ $ dumpsys window windows | grep -E 'mCurrentFocus', no information is getting displayed.

enter image description here

Upvotes: 1

Views: 1028

Answers (1)

Arghya Mukherjee
Arghya Mukherjee

Reputation: 343

Those who are going through same issue can try following command:

--> adb shell "dumpsys window windows | grep -E 'mTopActivityComponent'"

It is working and giving the details of the information needed

Upvotes: 1

Related Questions