change: update adb logs

This commit is contained in:
xucong053
2022-09-30 13:27:22 +08:00
committed by xucong053
parent eb9e3efe6c
commit b2cac25bd4
6 changed files with 227 additions and 5 deletions
+1 -1
View File
@@ -477,7 +477,7 @@ func (r *HRPRunner) initUIClient(device uixt.Device) (client *uixt.DriverExt, er
uuid := device.UUID()
// avoid duplicate init
if uuid == "" && len(r.uiClients) == 1 {
if uuid == "" && len(r.uiClients) > 0 {
for _, v := range r.uiClients {
return v, nil
}