Merge pull request #1496 from httprunner/dev-v4.3-bugfix

fix: failed to recording android adb log
This commit is contained in:
debugtalk
2022-10-13 20:07:55 +08:00
committed by GitHub

View File

@@ -63,6 +63,9 @@ func GetAndroidDeviceOptions(dev *AndroidDevice) (deviceOptions []AndroidDeviceO
if dev.Port != 0 {
deviceOptions = append(deviceOptions, WithAdbPort(dev.Port))
}
if dev.LogOn {
deviceOptions = append(deviceOptions, WithAdbLogOn(true))
}
return
}