Disable calls to MobileDataStateTracker.isProvisioning() as there is no more

MobileDataStateTracker so these just crash.

Change-Id: Ib45a85db505c0a99fb65d9a6d0c39b860f9d019d
This commit is contained in:
Paul Jensen
2014-05-12 17:39:09 -04:00
committed by Lorenzo Colitti
parent 4bc35b4aa5
commit c206e65756

View File

@@ -4176,7 +4176,10 @@ public class ConnectivityService extends IConnectivityManager.Stub {
CheckMp.Params params = CheckMp.Params params =
new CheckMp.Params(checkMp.getDefaultUrl(), timeOutMs, cb); new CheckMp.Params(checkMp.getDefaultUrl(), timeOutMs, cb);
if (DBG) log("checkMobileProvisioning: params=" + params); 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 { } finally {
Binder.restoreCallingIdentity(token); Binder.restoreCallingIdentity(token);
if (DBG) log("checkMobileProvisioning: X"); if (DBG) log("checkMobileProvisioning: X");