Merge "[Provider Model] Fix InternetPreferenceControllerTest failed issue." into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b40e5dc89d
@@ -79,6 +79,7 @@ public class InternetPreferenceControllerTest {
|
||||
when(wifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED);
|
||||
|
||||
mController = new InternetPreferenceController(mContext, mock(Lifecycle.class));
|
||||
mController.sIconMap.put(INTERNET_WIFI, 0);
|
||||
if (Looper.myLooper() == null) {
|
||||
Looper.prepare();
|
||||
}
|
||||
|
Reference in New Issue
Block a user