Page 1 of 1

Killed / terminate app immediately restarts

Posted: 11 May 2016 05:29
by Viking84
Hi all,

I'm trying to create a rather simple flow that sets the brightness to maximum when my GPS-Bike-Navigation app (Bike Citizens) is running.

Since I'm using LUX Auto Brightness - which as far as I'm aware can't be triggered through Automagic - I need to terminate LUX first, so that the system brightness settings apply.

Everything works fine apart from the fact that LUX restarts 2 seconds after being killed / terminated and takes over the brightness control again, rendering the flow useless...

Here is a screenshot of my flow for quick referencing (tried KILL, TERM and the 'Kill App' action unsuccessfully): http://m.imgur.com/AlvaYKJ

I'm using CM 13 (6.0.1) on a OnePlus One if that matters.

Any ideas?

Many thanks in advance!

Re: Killed / terminate app immediately restarts

Posted: 11 May 2016 08:29
by Philip
Is your phone rooted?

If so, you could try Execute root command : am force-stop com.vito.lux, although I don't know whether it would prevent it from restarting automatically.

Re: Killed / terminate app immediately restarts

Posted: 11 May 2016 09:32
by Viking84
Thanks Philip, that did the trick! Working perfectly now.

Re: Killed / terminate app immediately restarts

Posted: 11 May 2016 13:19
by MURTUMA
Lux can be controlled with Automagic. Try action Plugin (Experimental).

Re: Killed / terminate app immediately restarts

Posted: 11 May 2016 14:21
by Viking84
Thanks Murtuma, I hadn't checked the experimental settings - works like a charm!