a condition for control UI

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
User avatar
Autumn-Leigh
Posts: 67
Joined: 15 Mar 2018 19:23
Location: UK
Contact:

a condition for control UI

Post by Autumn-Leigh » 15 Apr 2018 12:30

Can we request a condition, so if say your doing control UI but you have a lock screen with pin, it executes it after your past it?
YouTube Channel - https://youtu.be/fui3RO9EmNU
If anyone wants a shoutout, or has a flow they want me to do, be it theirs or a new one, let me know :)

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

Re: a condition for control UI

Post by Desmanto » 15 Apr 2018 13:13

Most of the time, Control UI simply execute the UI action. To make it wait, use sleep instead. And we are not using condition to wait for the lock screen, we should use Trigger User Present instead. Add the Control UI after that trigger. The first flow only enabled the User Present Flow, and it will then wait until get triggered, execute the Control UI and disable itself again.
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.

Locked