Killed / terminate app immediately restarts

Post your questions and help other users.

Moderator: Martin

Post Reply
Viking84
Posts: 22
Joined: 01 Dec 2013 08:01

Killed / terminate app immediately restarts

Post by Viking84 » 11 May 2016 05:29

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!
Attachments
Screenshot_20160511-071426.png
Screenshot_20160511-071426.png (109.6 KiB) Viewed 12224 times

User avatar
Philip
Posts: 82
Joined: 08 Jun 2015 19:20
Location: Hampshire, UK

Re: Killed / terminate app immediately restarts

Post by Philip » 11 May 2016 08:29

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.
--
Philip

Viking84
Posts: 22
Joined: 01 Dec 2013 08:01

Re: Killed / terminate app immediately restarts

Post by Viking84 » 11 May 2016 09:32

Thanks Philip, that did the trick! Working perfectly now.

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: Killed / terminate app immediately restarts

Post by MURTUMA » 11 May 2016 13:19

Lux can be controlled with Automagic. Try action Plugin (Experimental).

Viking84
Posts: 22
Joined: 01 Dec 2013 08:01

Re: Killed / terminate app immediately restarts

Post by Viking84 » 11 May 2016 14:21

Thanks Murtuma, I hadn't checked the experimental settings - works like a charm!

Post Reply