summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java/com/wireguard
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2018-01-07 21:51:55 -0600
committerSamuel Holland <samuel@sholland.org>2018-01-07 21:51:55 -0600
commit9b0fbfa3c8bf3fdcd0cc8235dec5452df87d4d48 (patch)
tree9f5a40e07f9bde05603823069f9836b76574d4dd /app/src/main/java/com/wireguard
parent70588ae1050c107a0f166e0e50ed47ad814248f1 (diff)
BaseActivity: Make variable names consistent
Signed-off-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'app/src/main/java/com/wireguard')
-rw-r--r--app/src/main/java/com/wireguard/android/activity/BaseActivity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/com/wireguard/android/activity/BaseActivity.java b/app/src/main/java/com/wireguard/android/activity/BaseActivity.java
index a2eddbe1..10c7bca9 100644
--- a/app/src/main/java/com/wireguard/android/activity/BaseActivity.java
+++ b/app/src/main/java/com/wireguard/android/activity/BaseActivity.java
@@ -39,8 +39,8 @@ public abstract class BaseActivity extends Activity {
else if (getIntent() != null)
savedTunnelName = getIntent().getStringExtra(KEY_SELECTED_TUNNEL);
if (savedTunnelName != null) {
- final TunnelManager manager = Application.getComponent().getTunnelManager();
- selectedTunnel = manager.getTunnels().get(savedTunnelName);
+ final TunnelManager tunnelManager = Application.getComponent().getTunnelManager();
+ selectedTunnel = tunnelManager.getTunnels().get(savedTunnelName);
}
// The selected tunnel must be set before the superclass method recreates fragments.
super.onCreate(savedInstanceState);