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

android/tools/androiddevice.py中if "MOVE_TO_FOREGROUND" in line语句对华为,一加手机不生效 #12

Open
adadale opened this issue Feb 24, 2021 · 2 comments

Comments

@adadale
Copy link

adadale commented Feb 24, 2021

直接运行devicemonitor.py
如果是华为手机或者一加手机,没有MOVE_TO_FOREGROUND,只有type=ACTIVITY_RESUMED,导致获取不到最上层activity

@adadale adadale changed the title android/tools/androiddevice.py文件获取最顶层引用if "MOVE_TO_FOREGROUND" in line,华为,一加手机不生效 android/tools/androiddevice.py中if "MOVE_TO_FOREGROUND" in line语句对华为,一加手机不生效 Feb 24, 2021
@looklukelu
Copy link
Collaborator

有劳提供下详细的机型信息,手机型号 Android版本

@adadale
Copy link
Author

adadale commented Feb 26, 2021

HUAWEI Mate 30 Pro android 10
oneplus8 android 10

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