Fixing use of subId where phoneId was expected.
Jonathan Basseri [Wed, 8 Apr 2015 02:54:24 +0000 (19:54 -0700)]
Change-Id: I96eda538d40dc863823d3fae4782e10da345899e

src/java/com/android/ims/ImsManager.java

index ed1a43a..729b4d3 100644 (file)
@@ -250,7 +250,7 @@ public class ImsManager {
                         com.android.internal.R.bool.config_carrier_volte_provisioned)) {
             isProvisioned = false; // disable on any error
             ImsManager mgr = ImsManager.getInstance(context,
-                    SubscriptionManager.getDefaultVoiceSubId());
+                    SubscriptionManager.getDefaultVoicePhoneId());
             if (mgr != null) {
                 try {
                     ImsConfig config = mgr.getConfigInterface();