Airplane mode script and Nougat problem

Post your questions and help other users.

Moderator: Martin

Post Reply
manny2003
Posts: 1
Joined: 15 May 2016 23:43

Airplane mode script and Nougat problem

Post by manny2003 » 12 Mar 2017 17:21

Hi, I have purchased Automagic some time ago and I review it as a 5 stars app since it is the best of its genre in my opinion. It let me create a script for auto airplane mode on/off via the GUI script that serviced me very well for a almost a year on my Galaxy S7 no root.
The script was working good also with locked screen and with s-cover closed. I was amazed!

Now the phone has updated to Nougat and the happiness is over! The script had to be slightly changed to have it working but it will only work s-cover opened. I think this is due to the fact that using the flight mode button on the quick access toolbar with s-cover closed ask now for open it and this was not done before on marshmallow.

I do not see any possible solution, but just in case I would like to hear if anyone has any suggestion (tweaking with pm grant via abd? a way to enable the quick setting toggle to work with s-cover?)

This is the script that was working (it is in italian) to switch airplane mode on:

notification()
sleep(2000)
click("Modalità offline ON Pulsante") // for Android 6.0
click("Modalità, offline,ON,Pulsante") // for Android 7.0
sleep(2000)
back()

Post Reply