Skip to content

Commit

Permalink
chore: remove unused unicode caps (#856)
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa authored Feb 17, 2023
1 parent 817d409 commit 39f66ae
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/driver.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ class EspressoDriver extends BaseDriver {
this.desiredCapConstraints = desiredCapConstraints;
this.espresso = null;
this.jwpProxyActive = false;
this.defaultIME = null;
this.jwpProxyAvoid = NO_PROXY;

this.apkStrings = {}; // map of language -> strings obj
Expand Down Expand Up @@ -605,11 +604,6 @@ class EspressoDriver extends BaseDriver {
this.log.warn(`Unable to reset animation: ${err.message}`);
}
}
if (this.opts.unicodeKeyboard && this.opts.resetKeyboard &&
this.defaultIME) {
this.log.debug(`Resetting IME to '${this.defaultIME}'`);
await this.adb.setIME(this.defaultIME);
}
if (!this.isChromeSession && this.opts.appPackage && !this.opts.dontStopAppOnReset) {
await this.adb.forceStop(this.opts.appPackage);
}
Expand Down

0 comments on commit 39f66ae

Please sign in to comment.