Skip to content

Commit

Permalink
Fix Sony TV Android 10 broken currently running app
Browse files Browse the repository at this point in the history
  • Loading branch information
eporsche authored Nov 17, 2024
1 parent 343b74e commit b09496d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion androidtv/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class DeviceEnum(IntEnum):
CMD_PARSE_CURRENT_APP11 = "CURRENT_APP=${CURRENT_APP%%/*} && CURRENT_APP=${CURRENT_APP##* }"
#: Assign focused application identifier to ``CURRENT_APP`` variable
CMD_DEFINE_CURRENT_APP_VARIABLE = (
"CURRENT_APP=$(dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp') && " + CMD_PARSE_CURRENT_APP
"CURRENT_APP=$(dumpsys window windows | grep -E 'Window #1|mCurrentFocus|mFocusedApp') && " + CMD_PARSE_CURRENT_APP
)
#: Assign focused application identifier to ``CURRENT_APP`` variable for an Android 11 device
CMD_DEFINE_CURRENT_APP_VARIABLE11 = (
Expand Down

0 comments on commit b09496d

Please sign in to comment.