Skip to content

Commit

Permalink
Do not install unlock helper if skipUnlock is set to true (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mykola Mokhnach committed Sep 24, 2018
1 parent 5c96256 commit 03c2d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/android-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ helpers.initDevice = async function (adb, opts) {
if (opts.unicodeKeyboard) {
defaultIME = await helpers.initUnicodeKeyboard(adb);
}
if (_.isUndefined(opts.unlockType)) {
if (_.isUndefined(opts.unlockType) && !opts.skipUnlock) {
await helpers.pushUnlock(adb);
}
return defaultIME;
Expand Down

0 comments on commit 03c2d39

Please sign in to comment.