Merge "[Provider Model] Fix settings crash issue" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f396c0af28
@@ -107,6 +107,13 @@ public class InternetUpdaterTest {
|
||||
any(ConnectivityManager.NetworkCallback.class));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void onDestroy_shouldCloseCallback() {
|
||||
mInternetUpdater.onDestroy();
|
||||
|
||||
verify(mAirplaneModeEnabler).close();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void updateInternetAvailable_wifiConnectedAndNoValidated_internetUnavailable() {
|
||||
final NetworkCapabilities networkCapabilities = new NetworkCapabilities.Builder()
|
||||
|
||||
Reference in New Issue
Block a user