mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 876456 - (3) Tweak dumpsys command in adb getTopActivity; r=blassey
This commit is contained in:
parent
ac520e4c8c
commit
f21248227d
@ -104,8 +104,8 @@ class DroidADB(DeviceManagerADB, DroidMixin):
|
||||
|
||||
def getTopActivity(self):
|
||||
package = None
|
||||
data = self.shellCheckOutput(["dumpsys", "window", "input"])
|
||||
# "dumpsys window input" produces many lines of input. The top/foreground
|
||||
data = self.shellCheckOutput(["dumpsys", "window", "windows"])
|
||||
# "dumpsys window windows" produces many lines of input. The top/foreground
|
||||
# activity is indicated by something like:
|
||||
# mFocusedApp=AppWindowToken{483e6db0 token=HistoryRecord{484dcad8 com.mozilla.SUTAgentAndroid/.SUTAgentAndroid}}
|
||||
# or, on other devices:
|
||||
|
Loading…
Reference in New Issue
Block a user