Use front flash instead of led notification
Moderator: Martin
Re: Use front flash instead of led notification
Depends on how you design the flow, the pause can mean other things. If you use periodic timer or Glovar DT method, then disabling the flow itself (after screen on) is to pause them, since the timer won't run. Then re-enable the flow after unlock finish (trigger user present) means to resume it. Since the timer start again after enabling. You probably need to add the exception too. Because if the flow is running and screen on, error will be produced immediately. So maybe it is better just to use the exception method, where you add sleep 10 seconds for the exception part and loop back to the script which create the flash.
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.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: Use front flash instead of led notification
I've paused the blink process using the sleep action and it seems working, thanks a lot!