BaseActivity: Make variable names consistent
Signed-off-by: Samuel Holland <samuel@sholland.org>
This commit is contained in:
parent
1fd9547f6a
commit
4a3d68bb7d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user