Skip to content

Commit

Permalink
Fix for when there are 0 accessibility services
Browse files Browse the repository at this point in the history
  • Loading branch information
roaree committed Apr 17, 2024
1 parent 26fc2ed commit 1cccf02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mvt/android/artifacts/dumpsys_accessibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def parse(self, content: str) -> None:

for line in content.splitlines():
if line.strip().startswith("Enabled services:"):
matches = re.finditer(r"{([^{]*?)}", line)
matches = re.finditer(r"{([^{]+?)}", line)

for match in matches:
# Each match is in format: <package_name>/<service>
Expand Down

0 comments on commit 1cccf02

Please sign in to comment.