mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-05 00:00:45 -04:00
android: Show confirmation dialog also when connecting
This commit is contained in:
parent
6e398a81f2
commit
44c8580ebe
@ -230,7 +230,7 @@ public class MainActivity extends AppCompatActivity implements OnVpnProfileSelec
|
||||
|
||||
removeFragmentByTag(DIALOG_TAG);
|
||||
|
||||
if (mService != null && mService.getState() == State.CONNECTED)
|
||||
if (mService != null && (mService.getState() == State.CONNECTED || mService.getState() == State.CONNECTING))
|
||||
{
|
||||
profileInfo.putBoolean(PROFILE_RECONNECT, mService.getProfile().getId() == profile.getId());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user