summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKamaljeet Maini <kmaini@cyngn.com>2016-04-25 20:44:29 (GMT)
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-04-26 23:06:05 (GMT)
commit33beb0a0b887dbfa9797f7fa97f3cd715bb71a74 (patch)
tree8d7a4f8b616333647b56607fa338f1115ba27570
parente8398ca28c69e5711047eb969b2c557e45f9f68a (diff)
downloadandroid_packages_apps_PhoneCommon-33beb0a0b887dbfa9797f7fa97f3cd715bb71a74.zip
android_packages_apps_PhoneCommon-33beb0a0b887dbfa9797f7fa97f3cd715bb71a74.tar.gz
android_packages_apps_PhoneCommon-33beb0a0b887dbfa9797f7fa97f3cd715bb71a74.tar.bz2
Check if Volte is enabled in ImsManager to determine Volte support
Change-Id: I3209b4b814a041cbe6cdf354b853623943175e0b Issue-Id: CYNGNOS-2011
-rw-r--r--src/com/android/phone/common/util/VolteUtils.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/phone/common/util/VolteUtils.java b/src/com/android/phone/common/util/VolteUtils.java
index cde35a2..c38fa39 100644
--- a/src/com/android/phone/common/util/VolteUtils.java
+++ b/src/com/android/phone/common/util/VolteUtils.java
@@ -38,6 +38,7 @@ public class VolteUtils {
public static boolean isVolteInUse(Context context, int subId) {
return isVolteAvailable(context, subId) &&
- ImsManager.isEnhanced4gLteModeSettingEnabledByUser(context);
+ ImsManager.isEnhanced4gLteModeSettingEnabledByUser(context) &&
+ ImsManager.isVolteCallCapable();
}
}