alibaba / alibaba/mobileperf

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

Open
#12 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
762
Forks
229
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with android/tools/androiddevice.py and trace how devicemonitor.py identifies the top activity from device output. Compare Huawei and OnePlus output containing type=ACTIVITY_RESUMED with the expected MOVE_TO_FOREGROUND line. Done means the top activity is obtained for both output formats; verify with the affected devices.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, python
Domain
mobile-dev, performance
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.