Last active
May 30, 2024 12:55
-
-
Save pantos27/a19762b1edd3f785733bb343990a891f to your computer and use it in GitHub Desktop.
get current activity wit ADB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adb shell dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp|mObscuringWindow' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I used
adb shell dumpsys window displays | grep -E 'mCurrentFocus|mFocusedApp
is it OK