Switch off Flightmode with Automagic just partial working

Post your questions and help other users.

Moderator: Martin

Post Reply
SoWhat!
Posts: 1
Joined: 02 May 2016 15:44

Switch off Flightmode with Automagic just partial working

Post by SoWhat! » 05 May 2016 15:42

Hello,

I have an issue with Automagic on a MotoG (1st Gen) with CyanogenMod 12.1 installed, when I switch off Flightmode.

The MotoG is just used at home by my kids as DLNA Player for listening music and fairy tales with a Bluetooth Speaker. I want to ensure that Flightmode will be switched off if it's turned on, so I build a Flow in Automagic.

When I turn on Flightmode, Automagic discover that and switch it off. The Flow also checks WLAN and Bluetooth state and turn it on again if needed. When Automagic turns off Fligthmode WLAN and Bluetooth will turned on and able to work, but the small plane icon in the Statusbar will still showen. It disapears when I turn off Flightmode manually.

It looks like a cosmetic issue, but it's more than that. My Homeautomation still discovers the MotoG in Flightmode, as long the plane icon is shown in the Statusbar. Means if Automagic turns off Flightmode it's not fully turned off. When I turn off Flightmode manually my Homeautomation system discover the correct state and everything is working fine.

I did some tests to ensure that the issue is 100% on Automagic/Android side and not an issue with my Homeautomation.

I attached the simple Flow for redproduce the issue and some screenshots to show how it looks like.

Thanks,
Stefan
Attachments
Screenshot_2016-05-04-17-08-25.png
plane icon still shown in Statusbar
Screenshot_2016-05-04-17-08-25.png (331.89 KiB) Viewed 4358 times
Screenshot_2016-05-04-17-08-19.png
Flightmode switched off by Automagic
Screenshot_2016-05-04-17-08-19.png (103.86 KiB) Viewed 4358 times
StartAM_disable_Flightmode.txt
(39 Bytes) Downloaded 411 times

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Switch off Flightmode with Automagic just partial workin

Post by Martin » 09 May 2016 19:04

Hi,

Changing airplane mode is not officially supported by Android for third party apps like Automagic so switching it using root can cause such side effects unfortunately. Please edit action Set Airplane mode and switch from method 1 to method to or vice versa to see if this helps. Also reboot the device once.
If this does not work, you could try to create a specific CM profile with airplane mode on/off and switch to this profile using action Set CyanogenMod Profile.

Regards,
Martin

Post Reply