So I'm trying to start my Avast VPN after the phone boots up. I want to start it with intents somehow, but I get a permission error when trying to use the following intent to start it. Looks like the right one too. So instead I've been using AutoInput to open Avast and start the VPN, but it's a little laggy and I run into the following dialog window and have to manually tap OK. I can't figure out how to get Tasker/AutoInput to intercept the window and tap OK automatically. There seems to be hidden character(s) before and possibly after 'Allow connection'.
I looked in 'All' and all I could find was an app called 'VPN' which takes me to Android settings, and three 'VPNDialog's which didn't do anything when I ran them. The third one actually dimmed the screen when I ran it but that was it.