Move mobile provisioning APN support into telephony.

Most of this logic is simply removed from ConnectivityService.
The captive portal detection is now done by the NetworkMonitor.
The notification logic is still left in ConnectivityService as
it's used by both the NetworkMonitor and telephony's mobile
provisioning logic.

bug:17324098

Change-Id: Ibd1c42b1a75795f90a6483d3d0a5a14f88b193d8
This commit is contained in:
Paul Jensen 2014-09-15 15:59:36 -04:00
commit ebeaecde71
2 changed files with 17 additions and 742 deletions

View file

@ -1970,9 +1970,9 @@ public class ConnectivityManager {
* {@hide}
*/
public void setProvisioningNotificationVisible(boolean visible, int networkType,
String extraInfo, String url) {
String action) {
try {
mService.setProvisioningNotificationVisible(visible, networkType, extraInfo, url);
mService.setProvisioningNotificationVisible(visible, networkType, action);
} catch (RemoteException e) {
}
}

View file

@ -139,8 +139,7 @@ interface IConnectivityManager
LinkQualityInfo[] getAllLinkQualityInfo();
void setProvisioningNotificationVisible(boolean visible, int networkType, in String extraInfo,
in String url);
void setProvisioningNotificationVisible(boolean visible, int networkType, in String action);
void setAirplaneMode(boolean enable);