Closed Bug 1615280 Opened 4 years ago Closed 4 years ago

[mozdevice] ADBDevice.get_top_activity() can not find focused app on Android 10.

Categories

(Testing :: Mozbase, defect)

Version 3
defect
Not set
normal

Tracking

(firefox75 fixed)

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: bc, Assigned: bc)

Details

Attachments

(4 files)

The output of adb shell dumpsys window windows no longer contains mFocusedApp or FocusedApplication on Android 10. It is available in the output of adb shell dumpsys window.

This patch works for me. Geoff, Snorp: What do you think?

Flags: needinfo?(snorp)
Flags: needinfo?(gbrown)

lgtm

Flags: needinfo?(snorp)

lgtm too!

Flags: needinfo?(gbrown)
Pushed by bclary@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e617b6ebb373
[mozdevice] ADBDevice.get_top_activity() should use dumpsys window on Android 10, r=gbrown,snorp.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: