diff --git a/testing/mozbase/mozdevice/mozdevice/droid.py b/testing/mozbase/mozdevice/mozdevice/droid.py index d60b49a2ece..39c3a761159 100644 --- a/testing/mozbase/mozdevice/mozdevice/droid.py +++ b/testing/mozbase/mozdevice/mozdevice/droid.py @@ -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: