mirror of
https://github.com/gsantner/dandelion
synced 2025-09-13 12:19:42 +02: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…
Add table
Add a link
Reference in a new issue