fix disableProxyWhenVpnEnabled
This commit is contained in:
parent
2ae3c318ef
commit
d0bb8abd61
@ -4271,10 +4271,12 @@ public class LaunchActivity extends Activity implements ActionBarLayout.ActionBa
|
||||
} else if (!ProxyUtil.isVPNEnabled()) {
|
||||
SharedConfig.setProxyEnable(true);
|
||||
}
|
||||
NotificationCenter.getGlobalInstance().postNotificationName(NotificationCenter.proxySettingsChanged);
|
||||
}
|
||||
|
||||
ConnectionsManager.getInstance(currentAccount).setAppPaused(false, false);
|
||||
updateCurrentConnectionState(currentAccount);
|
||||
|
||||
if (PhotoViewer.hasInstance() && PhotoViewer.getInstance().isVisible()) {
|
||||
PhotoViewer.getInstance().onResume();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user