diff options
author | Samuel Holland <samuel@sholland.org> | 2018-01-08 23:06:51 -0600 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2018-01-08 23:39:32 -0600 |
commit | ea4844bdc9fa13a1a67edd1dddb7230cb2e120df (patch) | |
tree | d3c1ab5e4add82dc18c4783784f80fada7f1959d /app/src/main | |
parent | 0b937340513122241d9e5471da5c5090287d5fc0 (diff) |
TunnelEditorFragment: Fix dismissing creator activity
Signed-off-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |