Hi,
I'm trying to call the disconnect intent from Tasker, and I always end up with having ics-openvp on the foreground if the app was previously open. If the app was dismissed/closed, or the VPN was started via quick setting, it does not happen.
You can see in the attached video that when ics-openvpn opens, the key icon (top right) disappears, correctly.
I do have a similar problem with the Connect-Intent.
How would it be possible to start a Connection without bringing the OpenVPN app into the foreground? (Or with Auto-Close it after a successfull connection?)
General information
Description of the issue
Hi, I'm trying to call the disconnect intent from Tasker, and I always end up with having ics-openvp on the foreground if the app was previously open. If the app was dismissed/closed, or the VPN was started via quick setting, it does not happen.
You can see in the attached video that when ics-openvpn opens, the key icon (top right) disappears, correctly.
Is this behaviour expected?
For reference, the tasker activity is
Intent;action=android.intent.action.MAIN;component=de.blinkt.openvpn/.api.DisconnectVPN;end
https://user-images.githubusercontent.com/115389/233488903-119b60ac-dd3d-4f26-acda-d381c72affef.mp4