diff options
author | Hung-ying Tyan <tyanh@google.com> | 2010-10-18 19:47:33 +0800 |
---|---|---|
committer | Hung-ying Tyan <tyanh@google.com> | 2010-10-18 19:48:04 +0800 |
commit | a0cdfbf5b74a92611789b7ec08a84274b9011021 (patch) | |
tree | eb014471679d6d2b557413e493879b825d5c5c14 /voip/java | |
parent | 78a76fea28b8101c1860a2f1115329e3e63abda3 (diff) | |
download | frameworks_base-a0cdfbf5b74a92611789b7ec08a84274b9011021.zip frameworks_base-a0cdfbf5b74a92611789b7ec08a84274b9011021.tar.gz frameworks_base-a0cdfbf5b74a92611789b7ec08a84274b9011021.tar.bz2 |
Uncomment SIP/VOIP feature check in SipManager.
http://b/issue?id=2971947
Change-Id: I3afa8eb03c4e347b382213dd388354365f766b2f
Diffstat (limited to 'voip/java')
-rw-r--r-- | voip/java/android/net/sip/SipManager.java | 6 |
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); - */ } /** |