Prevent WFC Settings changes from impacting VoLTE Settings
Nathan Harold [Fri, 24 Jul 2015 22:02:34 +0000 (15:02 -0700)]
Bug: 22609300
Change-Id: I36fb3d1254c9168eb5978de1e39e6541d9c37df3

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

index 9ef8942..eb78fd0 100644 (file)
@@ -306,10 +306,8 @@ public class ImsManager {
         if (imsManager != null) {
             try {
                 ImsConfig config = imsManager.getConfigInterface();
-                // FIXME: replace NETWORK_TYPE_LTE with NETWORK_TYPE_IWLAN
-                // when available
                 config.setFeatureValue(ImsConfig.FeatureConstants.FEATURE_TYPE_VOICE_OVER_WIFI,
-                        TelephonyManager.NETWORK_TYPE_LTE,
+                        TelephonyManager.NETWORK_TYPE_IWLAN,
                         enabled ? ImsConfig.FeatureValueConstants.ON
                                 : ImsConfig.FeatureValueConstants.OFF, null);