Fix for when there are 0 accessibility services

This commit is contained in:
Rory Flynn 2024-04-17 15:49:37 +02:00
parent 26fc2edbfe
commit 1cccf02b9e
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class DumpsysAccessibilityArtifact(AndroidArtifact):
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>