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

Add -A option to ps command to list all Fire TV processes #348

Merged
merged 3 commits into from
Oct 27, 2024

Conversation

mano3m
Copy link
Contributor

@mano3m mano3m commented Jan 7, 2024

Fixes #102565 and #292 and updates e8b09aa

@mano3m mano3m changed the title Master Add -A option to ps command to list all Fire TV processes Jan 7, 2024
@@ -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"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A unit test is failing because this constant is the same as CMD_RUNNING_APPS_ANDROIDTV.

Copy link
Contributor Author

@mano3m mano3m Jan 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You want me to remove the FIRETV constant and refer to the ANDROIDTV one from everywhere? Or I can add an extra space somewhere ;)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please consolidate the two into a single CMD_RUNNING_APPS.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok done 👍

@mano3m
Copy link
Contributor Author

mano3m commented Oct 5, 2024

@JeffLIrion do you need more to merge this?

@JeffLIrion JeffLIrion merged commit 88d76f5 into JeffLIrion:master Oct 27, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Android Debug Bridge does not return app_id for Fire TV 4K Max Stick (2nd gen)
2 participants