From c7787a78f74a41820cfc31ff5fd51ee8d8c6df17 Mon Sep 17 00:00:00 2001 From: Irfan Sheriff Date: Wed, 27 Jul 2011 20:11:54 -0700 Subject: Fix NPE from monkey run Bug: 5037499 Change-Id: Ic12fab174d19b759899ce8b3f92f202f549e7c00 --- src/com/android/settings/wifi/WifiConfigController.java | 4 ++-- 1 file 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. -- cgit v1.1