Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有的手机查看当前 Activity 为 null #12

Open
880634 opened this issue Jul 2, 2022 · 2 comments
Open

有的手机查看当前 Activity 为 null #12

880634 opened this issue Jul 2, 2022 · 2 comments

Comments

@880634
Copy link

880634 commented Jul 2, 2022

  • 小米 12 就可以,但是 vivo iQOO 9 Pro 就不行,都是 Android 12 的手机,辛苦大大有空的时候兼容一下,需要什么协助我这边都可以帮忙。

image

screenshot1656766042934

image

screenshot1656766205223

@880634 880634 changed the title 有的手机当前 Activity 为 null 有的手机查看当前 Activity 为 null Jul 2, 2022
@EaniaHuui
Copy link
Owner

adb shell dumpsys window | grep mCurrentFocus
试试这个命令能不能获取得到

@880634
Copy link
Author

880634 commented Jul 20, 2022

image

可以获取得到

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants