0

I am using Android API 30 adb

adb shell dumpsys window windows

but it is not showing mCurrentFocused and mFocused app

Kindly help me out

Umair Khan
  • 11
  • 3

1 Answers1

0

I think you can try this:

dumpsys window | grep -E "mCurrentFocus

  • print(device.shell('dumpsys window | grep -E "mCurrentFocus"')) – WENDELL MARQUES Jun 03 '21 at 19:22
  • It's best to add additional information to your original answer rather than in comments. Many users focus on answers without reading the comments and may miss the additional information. – DaveL17 Jun 03 '21 at 23:37