summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIrfan Sheriff <isheriff@google.com>2011-07-27 20:40:27 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-07-27 20:40:27 -0700
commita75a5ea80b9651472e9209364987460eb561ec64 (patch)
tree4fde9b8ffd16b3054ca97bc4ab8f99f7592d013f
parent91eb8e178e7dadc7e4d1644960047c96316ed2b1 (diff)
parentc7787a78f74a41820cfc31ff5fd51ee8d8c6df17 (diff)
downloadpackages_apps_settings-a75a5ea80b9651472e9209364987460eb561ec64.zip
packages_apps_settings-a75a5ea80b9651472e9209364987460eb561ec64.tar.gz
packages_apps_settings-a75a5ea80b9651472e9209364987460eb561ec64.tar.bz2
Merge "Fix NPE from monkey run"
-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.