summaryrefslogtreecommitdiffstats
path: root/voip/java
diff options
context:
space:
mode:
authorJohn Huang <jsh@google.com>2010-10-18 13:41:04 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-10-18 13:41:04 -0700
commit45bd8303fe20f20843f5a76ddf42a5ace54add58 (patch)
tree057edc4b50707037518afff86d16fe87f3456527 /voip/java
parent382717f3eeca1a21e9756c7de42b4d31747d1675 (diff)
parenta0cdfbf5b74a92611789b7ec08a84274b9011021 (diff)
downloadframeworks_base-45bd8303fe20f20843f5a76ddf42a5ace54add58.zip
frameworks_base-45bd8303fe20f20843f5a76ddf42a5ace54add58.tar.gz
frameworks_base-45bd8303fe20f20843f5a76ddf42a5ace54add58.tar.bz2
Merge "Uncomment SIP/VOIP feature check in SipManager." into gingerbread
Diffstat (limited to 'voip/java')
-rw-r--r--voip/java/android/net/sip/SipManager.java6
1 files changed, 0 insertions, 6 deletions
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);
- */
}
/**