Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not install unlock helper if skipUnlock is set to true #429

Merged
merged 1 commit into from
Sep 24, 2018

Conversation

mykola-mokhnach
Copy link
Contributor

This will help to save time for session init if skipUnlock capability is truth

@@ -632,7 +632,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) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we log somewhere if the user gives an unlock type and sets skipUnlock to true?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that would be visible when we print capabilities at session startup (who is gonna do such unlogical stuff though?)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(who is gonna do such unlogical stuff though?)

you're still asking that question after working on appium for so long?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I still do believe in people...

@mykola-mokhnach mykola-mokhnach merged commit 03c2d39 into appium:master Sep 24, 2018
@mykola-mokhnach mykola-mokhnach deleted the skipUnlock branch September 28, 2018 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants