Merge "Disable calls to MobileDataStateTracker.isProvisioning() as there is no more MobileDataStateTracker so these just crash."

This commit is contained in:
Lorenzo Colitti
2014-05-14 12:47:45 +00:00
committed by Android (Google) Code Review

View File

@@ -4176,7 +4176,10 @@ public class ConnectivityService extends IConnectivityManager.Stub {
CheckMp.Params params =
new CheckMp.Params(checkMp.getDefaultUrl(), timeOutMs, cb);
if (DBG) log("checkMobileProvisioning: params=" + params);
checkMp.execute(params);
// TODO: Reenable when calls to the now defunct
// MobileDataStateTracker.isProvisioningNetwork() are removed.
// This code should be moved to the Telephony code.
// checkMp.execute(params);
} finally {
Binder.restoreCallingIdentity(token);
if (DBG) log("checkMobileProvisioning: X");