diff options
author | Samuel Holland <samuel@sholland.org> | 2018-01-07 21:51:55 -0600 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2018-01-07 21:51:55 -0600 |
commit | 4a3d68bb7df598aab64f7fcd8a4d43eaa31dc6bf (patch) | |
tree | 9f5a40e07f9bde05603823069f9836b76574d4dd /app/src/main | |
parent | 1fd9547f6a57edb45c517b17baf62fa66af20cb6 (diff) |
BaseActivity: Make variable names consistent
Signed-off-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/com/wireguard/android/activity/BaseActivity.java | 4 |
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); |