1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2024-11-24 13:22:08 +01:00

Reset stored values on resetProxy

This commit is contained in:
vanitasvitae 2016-06-06 12:37:53 +02:00
parent d336152238
commit b75e8e4174

View file

@ -115,6 +115,8 @@ public class OrbotStatusReceiver extends BroadcastReceiver {
public static void resetProxy(Context context) { public static void resetProxy(Context context) {
try { try {
OrbotStatusReceiver.host = "";
OrbotStatusReceiver.port = 0;
NetCipher.clearProxy(); NetCipher.clearProxy();
WebkitProxy.resetProxy(MainActivity.class.getName(), context.getApplicationContext()); WebkitProxy.resetProxy(MainActivity.class.getName(), context.getApplicationContext());
} catch (Exception e) { } catch (Exception e) {