summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/WirelessSettings.java
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2010-12-28 16:11:12 -0800
committerRobert Greenwalt <rgreenwalt@google.com>2010-12-29 16:25:28 -0800
commit6f3a98bb00f12851682c28d265be4f66fad85fd6 (patch)
tree586f3c25c3d09edb4561750462d7117a5831b0e9 /src/com/android/settings/WirelessSettings.java
parent762d2646582c073152a8774c1c6c49e1dc441d2e (diff)
downloadpackages_apps_Settings-6f3a98bb00f12851682c28d265be4f66fad85fd6.tar.gz
packages_apps_Settings-6f3a98bb00f12851682c28d265be4f66fad85fd6.tar.bz2
packages_apps_Settings-6f3a98bb00f12851682c28d265be4f66fad85fd6.zip
Hide http proxy UI
We don't have support in the media code so rather than confuse the users with some apps using proxies and some not we'll just turn it off for all for now. bug:3283883 Change-Id: If29bb34fce04eab5adc9b5180b70dbfd718cc709
Diffstat (limited to 'src/com/android/settings/WirelessSettings.java')
-rw-r--r--src/com/android/settings/WirelessSettings.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/settings/WirelessSettings.java b/src/com/android/settings/WirelessSettings.java
index e46707d4b..bdf8ce833 100644
--- a/src/com/android/settings/WirelessSettings.java
+++ b/src/com/android/settings/WirelessSettings.java
@@ -135,6 +135,8 @@ public class WirelessSettings extends SettingsPreferenceFragment {
Preference mGlobalProxy = findPreference(KEY_PROXY_SETTINGS);
DevicePolicyManager mDPM = (DevicePolicyManager)
activity.getSystemService(Context.DEVICE_POLICY_SERVICE);
+ // proxy UI disabled until we have better app support
+ getPreferenceScreen().removePreference(mGlobalProxy);
mGlobalProxy.setEnabled(mDPM.getGlobalProxyAdmin() == null);
// Disable Tethering if it's not allowed