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

Airplane mode #165

Closed
A-YATTA opened this issue Nov 10, 2022 · 0 comments
Closed

Airplane mode #165

A-YATTA opened this issue Nov 10, 2022 · 0 comments
Assignees

Comments

@A-YATTA
Copy link
Collaborator

A-YATTA commented Nov 10, 2022

As the su command will fail on non rooted devices, the update of the answer https://stackoverflow.com/questions/10506591/turning-airplane-mode-on-via-adb
could be a solution to avoid the error.

@A-YATTA A-YATTA self-assigned this Nov 10, 2022
ashishb added a commit that referenced this issue Mar 14, 2023
* Update airplane mode

* Saving/restoring states of Wifi and mobile-data before/after enabling/disabling airplane mode

* Fix codeclimate whitespaces

* Send protected intent for devices if "su" command exist

* Remove unused import

* Add a missing return value for consistency

---------

Co-authored-by: Ashish Bhatia <ashishb@ashishb.net>
@A-YATTA A-YATTA closed this as completed Mar 14, 2023
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

No branches or pull requests

1 participant