Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update process command for fire tv to include all processes #347

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion androidtv/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class DeviceEnum(IntEnum):
CMD_RUNNING_APPS_ANDROIDTV = "ps -A | grep u0_a"

#: Get the running apps for a Fire TV device
CMD_RUNNING_APPS_FIRETV = "ps | grep u0_a"
CMD_RUNNING_APPS_FIRETV = "ps -A | grep u0_a"

#: Get installed apps
CMD_INSTALLED_APPS = "pm list packages"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def test_constants(self):
self.assertCommand(constants.CMD_RUNNING_APPS_ANDROIDTV, r"ps -A | grep u0_a")

# CMD_RUNNING_APPS_FIRETV
self.assertCommand(constants.CMD_RUNNING_APPS_FIRETV, r"ps | grep u0_a")
self.assertCommand(constants.CMD_RUNNING_APPS_FIRETV, r"ps -A | grep u0_a")

# CMD_SCREEN_ON
self.assertCommand(
Expand Down