Skip to content

Commit 8983205

Browse files
authored
Merge pull request dtmilano#254 from knorrium/master
add support for activities within inner classes
2 parents 546af37 + 29cb606 commit 8983205

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/com/dtmilano/android/adb/adbclient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1287,7 +1287,7 @@ def getFocusedWindowName(self):
12871287
def getTopActivityNameAndPid(self):
12881288
dat = self.shell('dumpsys activity top')
12891289
lines = dat.splitlines()
1290-
activityRE = re.compile('\s*ACTIVITY ([A-Za-z0-9_.]+)/([A-Za-z0-9_.]+) \w+ pid=(\d+)')
1290+
activityRE = re.compile('\s*ACTIVITY ([A-Za-z0-9_.]+)/([A-Za-z0-9_.\$]+) \w+ pid=(\d+)')
12911291
m = activityRE.search(lines[1])
12921292
if m:
12931293
return m.group(1), m.group(2), m.group(3)

0 commit comments

Comments
 (0)