Post your feature requets for new triggers, conditions, actions and other improvements.
Moderator: Martin
-
Martin
- Posts: 4468
- Joined: 09 Nov 2012 14:23
Post
by Martin » 15 Aug 2019 19:13
Unfortunately this method is not white listed by Google so it can not even be called with reflection in an action Script.
Best option is to use either action Lock Device, Control UI: lockScreen() or on a rooted device simulate a press of the power button in Execute Root Command: input keyevent 26.
Regards,
Martin