diff options
author | Xia Wang <xiaw@google.com> | 2012-03-08 15:57:26 -0800 |
---|---|---|
committer | Xia Wang <xiaw@google.com> | 2012-03-08 15:57:26 -0800 |
commit | 27284da88c4552c5be4c8eff8acd36b518da47da (patch) | |
tree | dd38c78c6b676504bce6235131a7b577f62863ba | |
parent | 0de2ed3bf355fd92bcb3c169895a29c9c3db745a (diff) | |
download | frameworks_base-27284da88c4552c5be4c8eff8acd36b518da47da.zip frameworks_base-27284da88c4552c5be4c8eff8acd36b518da47da.tar.gz frameworks_base-27284da88c4552c5be4c8eff8acd36b518da47da.tar.bz2 |
Fix CM test
http://b/issue?id=6125619
Change-Id: I33306619424ab54281aaf592c78581179ebbfc6e
-rw-r--r-- | core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ConnectivityManagerTestActivity.java | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |