Skip to content

Commit b115e5f

Browse files
committed
use the existing AdbClient to force-stop com.dtmilano.android.culebratester
1 parent c569f22 commit b115e5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/com/dtmilano/android/viewclient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2561,7 +2561,7 @@ def __init__(self, device, serialno, adb=None, autodump=True, forceviewserveruse
25612561
else:
25622562
# culebratester Intrumentation running prevents `uiautomator dump` from working correctly, then if we are not
25632563
# using UiAutomatorHelper let's kill it, just in case
2564-
subprocess.check_call([self.adb, '-s', self.serialno, 'shell', 'am', 'force-stop', 'com.dtmilano.android.culebratester'])
2564+
self.device.shell('am force-stop com.dtmilano.android.culebratester')
25652565

25662566

25672567
self.uiDevice = UiDevice(self)

0 commit comments

Comments
 (0)