change: rename DeviceLogcat to AdbLogcat

This commit is contained in:
debugtalk
2022-11-26 22:21:17 +08:00
parent a5e0ea2f11
commit a64151361d
2 changed files with 13 additions and 11 deletions
+2 -2
View File
@@ -35,7 +35,7 @@ type uiaDriver struct {
Driver
adbDevice gadb.Device
logcat *DeviceLogcat
logcat *AdbLogcat
localPort int
}
@@ -478,7 +478,7 @@ func (ud *uiaDriver) AppTerminate(bundleId string) (successful bool, err error)
return false, err
}
_, err = ud.adbDevice.RunShellCommand("am force-stop", bundleId)
_, err = ud.adbDevice.RunShellCommand("am", "force-stop", bundleId)
return err == nil, err
}