Skip to content

Commit 21b4d6b

Browse files
Xia WangAndroid (Google) Code Review
authored andcommitted
Merge "Fix CM test http://b/issue?id=6125619"
2 parents 67b3a9e + 27284da commit 21b4d6b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ConnectivityManagerTestActivity.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ protected void onCreate(Bundle savedInstanceState) {
241241
mCM = (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE);
242242
// Get an instance of WifiManager
243243
mWifiManager =(WifiManager)getSystemService(Context.WIFI_SERVICE);
244+
mContext = this;
244245
mChannel = mWifiManager.initialize(mContext, mContext.getMainLooper(), null);
245246

246247
initializeNetworkStates();

0 commit comments

Comments
 (0)