我正在编写系统应用程序,它通过设置全局http代理
Settings.Global.putString(getContentResolver(), Settings.Global.HTTP_PROXY, "127.0.0.1");
Run Code Online (Sandbox Code Playgroud)
我该如何恢复这一变化?
这不起作用:
Settings.Global.putString(getContentResolver(), Settings.Global.HTTP_PROXY, null);
Run Code Online (Sandbox Code Playgroud)
有任何想法吗?
提前致谢