From a0cdfbf5b74a92611789b7ec08a84274b9011021 Mon Sep 17 00:00:00 2001 From: Hung-ying Tyan <tyanh@google.com> Date: Mon, 18 Oct 2010 19:47:33 +0800 Subject: Uncomment SIP/VOIP feature check in SipManager. http://b/issue?id=2971947 Change-Id: I3afa8eb03c4e347b382213dd388354365f766b2f --- voip/java/android/net/sip/SipManager.java | 6 ------ 1 file changed, 6 deletions(-) (limited to 'voip') diff --git a/voip/java/android/net/sip/SipManager.java b/voip/java/android/net/sip/SipManager.java index ee0e3cd..2f03e34 100644 --- a/voip/java/android/net/sip/SipManager.java +++ b/voip/java/android/net/sip/SipManager.java @@ -126,22 +126,16 @@ public class SipManager { * Returns true if the SIP API is supported by the system. */ public static boolean isApiSupported(Context context) { - return true; - /* TODO: uncomment this before ship return context.getPackageManager().hasSystemFeature( PackageManager.FEATURE_SIP); - */ } /** * Returns true if the system supports SIP-based VoIP. */ public static boolean isVoipSupported(Context context) { - return true; - /* TODO: uncomment this before ship return context.getPackageManager().hasSystemFeature( PackageManager.FEATURE_SIP_VOIP) && isApiSupported(context); - */ } /** -- cgit v1.1