Closed Bug 1651196 Opened 4 years ago Closed 4 years ago

On Galaxy S10 running Android 10, 'mach gtest' fails because it cannot find the top activity

Categories

(Testing :: Mozbase, defect, P3)

defect

Tracking

(firefox82 fixed)

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: gbrown, Assigned: bc)

References

Details

Attachments

(2 files)

As reported at https://bugzilla.mozilla.org/show_bug.cgi?id=1486004#c46. I think adb.py needs to allow for another format of dumpsys mFocusedApp:

    mFocusedApp=Token{443fe42 ActivityRecord{f638c8d u0 org.mozilla.geckoview.test/.TestRunnerActivity t89}}
See Also: → 1486004
Assignee: nobody → bob
Status: NEW → ASSIGNED
Pushed by bclary@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/21b050844657
[mozdevice] improve top activity detection in Android 10+, r=jmaher.
https://hg.mozilla.org/integration/autoland/rev/8fea8fb31183
add additional logging for remotegtests.py AppWaiter.update_log, r=jmaher.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch

I verified this: 'mach gtest' works well on my S10 now. Thanks!

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: