Skip to content

Commit

Permalink
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
Browse files Browse the repository at this point in the history
  • Loading branch information
alroyso committed Nov 29, 2020
1 parent 58a9cca commit 072d556
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .idea/modules/openvpn/openvpn.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ static void startVpnInternal(Context context, String configContent, String userN

public static void disconnectFromVpn(Context context) {
Intent intent = new Intent(context, DisconnectVpnActivity.class);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(intent);
}

Expand Down

0 comments on commit 072d556

Please sign in to comment.