Use CONNECTIVITY_INTERNAL for global proxy
The Global http proxy shouldn't be used by apps, but can be useful in certain conditions. bug:8264794 bug:8557674 Change-Id: Ia3cbe542e448d9e74d0492626a13e9fd34ad797a
This commit is contained in:
parent
da77cb16c8
commit
aa4677cfa0
1 changed files with 11 additions and 6 deletions
|
|
@ -1136,7 +1136,7 @@ public class ConnectivityManager {
|
|||
* HTTP proxy. A {@code null} value will clear the global HTTP proxy.
|
||||
*
|
||||
* <p>This method requires the call to hold the permission
|
||||
* {@link android.Manifest.permission#CHANGE_NETWORK_STATE}.
|
||||
* {@link android.Manifest.permission#CONNECTIVITY_INTERNAL}.
|
||||
* {@hide}
|
||||
*/
|
||||
public void setGlobalProxy(ProxyProperties p) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue