summaryrefslogtreecommitdiff
path: root/java/com/android/contacts/common/util/TelephonyManagerUtils.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/android/contacts/common/util/TelephonyManagerUtils.java')
-rw-r--r--java/com/android/contacts/common/util/TelephonyManagerUtils.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/java/com/android/contacts/common/util/TelephonyManagerUtils.java b/java/com/android/contacts/common/util/TelephonyManagerUtils.java
index e4c2c6373..b664268ca 100644
--- a/java/com/android/contacts/common/util/TelephonyManagerUtils.java
+++ b/java/com/android/contacts/common/util/TelephonyManagerUtils.java
@@ -33,4 +33,13 @@ public class TelephonyManagerUtils {
final String voiceMailLabel = telephonyManager.getVoiceMailAlphaTag();
return voiceMailLabel;
}
+
+ /**
+ * @param context Current application context.
+ * @return True if there is a subscription which supports video calls. False otherwise.
+ */
+ public static boolean hasVideoCallSubscription(Context context) {
+ // TODO: Check the telephony manager's subscriptions to see if any support video calls.
+ return true;
+ }
}