change: rename DeviceLogcat to AdbLogcat

This commit is contained in:
debugtalk
2022-11-26 21:27:49 +08:00
parent 037b7f0190
commit 21b57ac70a
2 changed files with 13 additions and 11 deletions

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
}