From 27284da88c4552c5be4c8eff8acd36b518da47da Mon Sep 17 00:00:00 2001 From: Xia Wang Date: Thu, 8 Mar 2012 15:57:26 -0800 Subject: Fix CM test http://b/issue?id=6125619 Change-Id: I33306619424ab54281aaf592c78581179ebbfc6e --- .../android/connectivitymanagertest/ConnectivityManagerTestActivity.java | 1 + 1 file changed, 1 insertion(+) (limited to 'core/tests') diff --git a/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ConnectivityManagerTestActivity.java b/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ConnectivityManagerTestActivity.java index 259f15f..19aa77b 100644 --- a/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ConnectivityManagerTestActivity.java +++ b/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ConnectivityManagerTestActivity.java @@ -241,6 +241,7 @@ public class ConnectivityManagerTestActivity extends Activity { mCM = (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE); // Get an instance of WifiManager mWifiManager =(WifiManager)getSystemService(Context.WIFI_SERVICE); + mContext = this; mChannel = mWifiManager.initialize(mContext, mContext.getMainLooper(), null); initializeNetworkStates(); -- cgit v1.1