diff options
author | Arne Schwabe <arne@rfc2549.org> | 2022-11-01 18:36:03 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2022-11-01 18:37:25 +0100 |
commit | 8dd69e81d589d787210a58bff8629eaf068908b6 (patch) | |
tree | eeadaaeb0d1c5a06ad6eaa0ac25d18faeb10b1c8 /main/src/ui/java/de/blinkt/openvpn/activities | |
parent | ea13917b41ed161f8a385ed438ee8fd3742f557b (diff) |
Log reason why a VPN process was started
Diffstat (limited to 'main/src/ui/java/de/blinkt/openvpn/activities')
-rw-r--r-- | main/src/ui/java/de/blinkt/openvpn/activities/CreateShortcuts.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/main/src/ui/java/de/blinkt/openvpn/activities/CreateShortcuts.java b/main/src/ui/java/de/blinkt/openvpn/activities/CreateShortcuts.java index e1cb8862..82455895 100644 --- a/main/src/ui/java/de/blinkt/openvpn/activities/CreateShortcuts.java +++ b/main/src/ui/java/de/blinkt/openvpn/activities/CreateShortcuts.java @@ -51,9 +51,6 @@ import java.util.Vector; public class CreateShortcuts extends ListActivity implements OnItemClickListener { - private static final int START_VPN_PROFILE= 70; - - private ProfileManager mPM; private VpnProfile mSelectedProfile; @@ -128,7 +125,8 @@ public class CreateShortcuts extends ListActivity implements OnItemClickListener Intent shortcutIntent = new Intent(Intent.ACTION_MAIN); shortcutIntent.setClass(this, LaunchVPN.class); - shortcutIntent.putExtra(LaunchVPN.EXTRA_KEY,profile.getUUID().toString()); + shortcutIntent.putExtra(LaunchVPN.EXTRA_KEY, profile.getUUID().toString()); + shortcutIntent.putExtra(LaunchVPN.EXTRA_START_REASON, "shortcut"); // Then, set up the container intent (the response to the caller) |