Replace the way to get the network for no internet dialog
It's a refactor work for incoming connectivity mainline. The network information contained in the no ineternet notification action was placed the target network id. The receiver which is Settings will need to construct the network from the network id using the hidden Network constructor. Since Network is moving into module, Settings will not be able to access it. Apps should use Network instead of network id, so just send the network object to Settings. Update the corresponding logic in Settings. Bug: 172183305 Test: manually test with no internet dialog and check the behavior and log Test: make RunSettingsRoboTests ROBOTEST_FILTER=\ com.android.settings.wifi.WifiNoInternetDialogTest Change-Id: I75c04d6f1c2159ae990f6015551eb39d99266336
Loading
Please register or sign in to comment