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:
parent
d336152238
commit
b75e8e4174
1 changed files with 2 additions and 0 deletions
|
@ -115,6 +115,8 @@ public class OrbotStatusReceiver extends BroadcastReceiver {
|
|||
|
||||
public static void resetProxy(Context context) {
|
||||
try {
|
||||
OrbotStatusReceiver.host = "";
|
||||
OrbotStatusReceiver.port = 0;
|
||||
NetCipher.clearProxy();
|
||||
WebkitProxy.resetProxy(MainActivity.class.getName(), context.getApplicationContext());
|
||||
} catch (Exception e) {
|
||||
|
|
Loading…
Reference in a new issue