Skip to content

Commit

Permalink
Removed redundat UIAutomator killing during init (#265)
Browse files Browse the repository at this point in the history
Removed killing any existing UIAutomator2 processes running on device
during phase of UIAutomator2Server initialization, which is not required
at that point, due to possibility of reinstallation apks. Moreover
processes are killed eitherway on the begging of session startup.
  • Loading branch information
AnnaWyrwal authored and mykola-mokhnach committed Dec 11, 2018
1 parent a4d7621 commit 162e370
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/driver.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,9 +396,6 @@ class AndroidUiautomator2Driver extends BaseDriver {
});
this.proxyReqRes = this.uiautomator2.proxyReqRes.bind(this.uiautomator2);

// killing any uiautomator existing processes
await this.uiautomator2.killUiAutomatorOnDevice();

await this.uiautomator2.installServerApk(this.opts.uiautomator2ServerInstallTimeout);
}

Expand Down

0 comments on commit 162e370

Please sign in to comment.