Reputation: 343
Not getting the package and current focus information when using: 1|m21:/ $ dumpsys window windows | grep -E 'mCurrentFocus', no information is getting displayed.
Upvotes: 1
Views: 1028
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