We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 546af37 + 29cb606 commit 8983205Copy full SHA for 8983205
1 file changed
src/com/dtmilano/android/adb/adbclient.py
@@ -1287,7 +1287,7 @@ def getFocusedWindowName(self):
1287
def getTopActivityNameAndPid(self):
1288
dat = self.shell('dumpsys activity top')
1289
lines = dat.splitlines()
1290
- activityRE = re.compile('\s*ACTIVITY ([A-Za-z0-9_.]+)/([A-Za-z0-9_.]+) \w+ pid=(\d+)')
+ activityRE = re.compile('\s*ACTIVITY ([A-Za-z0-9_.]+)/([A-Za-z0-9_.\$]+) \w+ pid=(\d+)')
1291
m = activityRE.search(lines[1])
1292
if m:
1293
return m.group(1), m.group(2), m.group(3)
0 commit comments