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

Fix toggle_location_services not working on android 9.0 devices #594

Merged
merged 8 commits into from
Jan 9, 2020

Conversation

gillett-hernandez
Copy link
Contributor

unfortunately i haven't been able to test this end to end
i did test by manually inputting the adb keycode sequence and it toggled the location

this potentially fixes appium/appium#13755

@jsf-clabot
Copy link

jsf-clabot commented Dec 20, 2019

CLA assistant check
All committers have signed the CLA.

@mykola-mokhnach
Copy link
Contributor

@gillett-hernandez Is there any chance to finish the PR?

refactor to use constants instead of magic numbers
@gillett-hernandez
Copy link
Contributor Author

@mykola-mokhnach i gave it a shot but i'm a bit rusty on my javascript. let me know if what i wrote as a refactor is not the right way to do it.

tweak refactor to use consts instead of normal variables
remove unnecessary comments
@gillett-hernandez
Copy link
Contributor Author

@mykola-mokhnach updated. CI is running now. if it looks good to you, i'd love for it to be merged.

@mykola-mokhnach
Copy link
Contributor

https://travis-ci.org/appium/appium-android-driver/jobs/634469166#L3293 Please add the missing semicolon to make tests pass

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.

driver.toggle_location_services() fails to toggle location
4 participants