Temporarily disable "draw over other apps" via automagic?

Post your questions and help other users.

Moderator: Martin

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

Temporarily disable "draw over other apps" via automagic?

Post by Viking84 » 26 Mar 2018 15:07

Hi all,

Recently been running into an issue trying to use TransferWise - apparently their recent release doesn't work while Lux (auto brightness) is allowed to draw over other apps (permission).

Is there a way to:

(a) use automagic to remove the permission for com.vito.lux while com.trnasferwise.android is running;
(b) terminate com.vito.lux *and prevent it from immediately restarting* while transferwise is running (that's the solution I played around with now, but lux restarts itself within 5 seconds)?

Any hint appreciated.

Thanks!

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Temporarily disable "draw over other apps" via automagic

Post by Desmanto » 26 Mar 2018 15:26

It seems Lux has the plugin you can use. Try to add action Plugin and find Lux at there. You may find the way disable the lux while TransferWise is running. Simply use Trigger App Task Started : TransferWise, use the plugin to disable Lux. And then Trigger App Task Ended : TransferWise, enable the Lux.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

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

Re: Temporarily disable "draw over other apps" via automagic

Post by Viking84 » 26 Mar 2018 16:03

Awesome, that did the trick. Thanks a lot!

Post Reply