From 2776455d4f6761a72068976c1dea12692e0aac6b Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Mon, 8 Jan 2018 23:06:51 -0600 Subject: [PATCH] TunnelEditorFragment: Fix dismissing creator activity Signed-off-by: Samuel Holland --- .../com/wireguard/android/fragment/TunnelEditorFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java b/app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java index d3114c89..eec5c098 100644 --- a/app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java +++ b/app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java @@ -198,6 +198,7 @@ public class TunnelEditorFragment extends BaseFragment { if (throwable == null) { message = getString(R.string.tunnel_create_success, tunnel.getName()); Log.d(TAG, message); + localTunnel = tunnel; onFinished(); } else { final String error = ExceptionLoggers.unwrap(throwable).getMessage();