summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorIrfan Sheriff <isheriff@google.com>2011-07-27 20:11:54 -0700
committerIrfan Sheriff <isheriff@google.com>2011-07-27 20:11:54 -0700
commitc7787a78f74a41820cfc31ff5fd51ee8d8c6df17 (patch)
treef6cbd845925af3cb47eec3f7a7065368d7dde4ec /src/com
parenta7c32ad74996c9fcb0d1d1481f191f0720197e49 (diff)
downloadpackages_apps_settings-c7787a78f74a41820cfc31ff5fd51ee8d8c6df17.zip
packages_apps_settings-c7787a78f74a41820cfc31ff5fd51ee8d8c6df17.tar.gz
packages_apps_settings-c7787a78f74a41820cfc31ff5fd51ee8d8c6df17.tar.bz2
Fix NPE from monkey run
Bug: 5037499 Change-Id: Ic12fab174d19b759899ce8b3f92f202f549e7c00
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/settings/wifi/WifiConfigController.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/settings/wifi/WifiConfigController.java b/src/com/android/settings/wifi/WifiConfigController.java
index 897280f..876fd99 100644
--- a/src/com/android/settings/wifi/WifiConfigController.java
+++ b/src/com/android/settings/wifi/WifiConfigController.java
@@ -112,8 +112,8 @@ public class WifiConfigController implements TextWatcher,
private TextView mProxyPortView;
private TextView mProxyExclusionListView;
- private IpAssignment mIpAssignment;
- private ProxySettings mProxySettings;
+ private IpAssignment mIpAssignment = IpAssignment.UNASSIGNED;
+ private ProxySettings mProxySettings = ProxySettings.UNASSIGNED;
private LinkProperties mLinkProperties = new LinkProperties();
// True when this instance is used in SetupWizard XL context.