Have CaptivePortalTracker use gservices updateable provisioning urls.
After detecting there is a captive portal the url used in the notification for mobile networks should be updateable via gservices. These urls will be the same as used by CheckMp and is needed for carriers that have specific provisioning urls such as AT&T and Verizon. Bug: 9622647 Change-Id: Idcf4dabc72ece1dbbe1d5e5a21e550dd06fe16c7
This commit is contained in:
committed by
The Android Automerger
parent
bd53d843fa
commit
830e29b51b
@@ -1360,7 +1360,7 @@ public class ConnectivityManager {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the carrier provisioning url.
|
||||
* Get the mobile provisioning url.
|
||||
* {@hide}
|
||||
*/
|
||||
public String getMobileProvisioningUrl() {
|
||||
@@ -1370,4 +1370,16 @@ public class ConnectivityManager {
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the mobile redirected provisioning url.
|
||||
* {@hide}
|
||||
*/
|
||||
public String getMobileRedirectedProvisioningUrl() {
|
||||
try {
|
||||
return mService.getMobileRedirectedProvisioningUrl();
|
||||
} catch (RemoteException e) {
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -136,4 +136,6 @@ interface IConnectivityManager
|
||||
int checkMobileProvisioning(boolean sendNotification, int suggestedTimeOutMs, in ResultReceiver resultReceiver);
|
||||
|
||||
String getMobileProvisioningUrl();
|
||||
|
||||
String getMobileRedirectedProvisioningUrl();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user