From c206e65756fc550ae487df1746a96a605e379f6a Mon Sep 17 00:00:00 2001 From: Paul Jensen Date: Mon, 12 May 2014 17:39:09 -0400 Subject: [PATCH] Disable calls to MobileDataStateTracker.isProvisioning() as there is no more MobileDataStateTracker so these just crash. Change-Id: Ib45a85db505c0a99fb65d9a6d0c39b860f9d019d --- .../core/java/com/android/server/ConnectivityService.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/services/core/java/com/android/server/ConnectivityService.java b/services/core/java/com/android/server/ConnectivityService.java index 752dce9187..1e29d7c52e 100644 --- a/services/core/java/com/android/server/ConnectivityService.java +++ b/services/core/java/com/android/server/ConnectivityService.java @@ -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");