Skip to content

Commit ecf8cb4

Browse files
committed
android: Clarify that Intents start an Activity
1 parent 756ac6d commit ecf8cb4

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

docs/modules/ROOT/pages/os/androidVpnClient.adoc

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ The app allows creating shortcuts on the Android Launcher to quickly initiate
6868
specific VPN profiles.
6969

7070
Since xref:#_2_0_0_2018_07_03[2.0.0] it's possible to use *Intents* and a VPN
71-
profile's UUID to connect/terminate it with automation apps such as Llama or
71+
profile's UUID to connect/terminate it with automation apps such as Automate or
7272
Tasker e.g. based on location, WiFi hotspots or other events.
7373

7474
How-to use *Intents* to connect or terminate VPN profiles:
@@ -77,17 +77,20 @@ How-to use *Intents* to connect or terminate VPN profiles:
7777
The UUID required for this can be found at the bottom of the advanced settings
7878
when editing a profile and may be copied from there.
7979
80-
To connect a profile use the following information in the Intent:
80+
The Intents are meant to start an *Activity*, so be sure to select the
81+
appropriate block in Automate ("App start") or "Target" in Tasker.
82+
83+
To connect a profile, use the following information in the Intent:
8184
8285
* `*Package*: org.strongswan.android`
8386
84-
* `*Action* : org.strongswan.android.action.START_PROFILE`
87+
* `*Action*: org.strongswan.android.action.START_PROFILE`
8588
86-
* `*Extras*` :
89+
* `*Extras*`:
8790
** `*org.strongswan.android.VPN_PROFILE_UUID*`: UUID of the profile to start +
8891
(a string that looks like this: `7b21d354-52ed-4c14-803a-a3370f575405`)
8992
90-
To disconnect the profile use the following information in the Intent:
93+
To disconnect the profile, use the following information in the Intent:
9194
9295
* `*Package*: org.strongswan.android`
9396

0 commit comments

Comments
 (0)