mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-06 23:11:21 +08:00
fix: failed to recording android adb log
This commit is contained in:
@@ -63,6 +63,9 @@ func GetAndroidDeviceOptions(dev *AndroidDevice) (deviceOptions []AndroidDeviceO
|
|||||||
if dev.Port != 0 {
|
if dev.Port != 0 {
|
||||||
deviceOptions = append(deviceOptions, WithAdbPort(dev.Port))
|
deviceOptions = append(deviceOptions, WithAdbPort(dev.Port))
|
||||||
}
|
}
|
||||||
|
if dev.LogOn {
|
||||||
|
deviceOptions = append(deviceOptions, WithAdbLogOn(true))
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user