diff options
| author | 2010-09-02 19:26:56 -0700 | |
|---|---|---|
| committer | 2010-09-02 19:26:56 -0700 | |
| commit | ea16e72bff350c0b6e2a00a82b934d1a2fc0fa2d (patch) | |
| tree | 052b3875256a60b8343ba878e98511eef7d693e8 | |
| parent | beccf3c48a6573da6dc0cb3d5e8e170664220f0c (diff) | |
| parent | b355714a2995ebe343808e06f69da5067f52a833 (diff) | |
am b355714a: Merge "SipManager: always return true for SIP API and VOIP support query." into gingerbread
Merge commit 'b355714a2995ebe343808e06f69da5067f52a833' into gingerbread-plus-aosp
* commit 'b355714a2995ebe343808e06f69da5067f52a833':
SipManager: always return true for SIP API and VOIP support query.
| -rw-r--r-- | voip/java/android/net/sip/SipManager.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/voip/java/android/net/sip/SipManager.java b/voip/java/android/net/sip/SipManager.java index 700fb4ea85bb..beec8fe0c184 100644 --- a/voip/java/android/net/sip/SipManager.java +++ b/voip/java/android/net/sip/SipManager.java @@ -83,16 +83,22 @@ public class SipManager { * Returns true if the SIP API is supported by the system. */ public static boolean isApiSupported(Context context) { + return true; + /* return context.getPackageManager().hasSystemFeature( PackageManager.FEATURE_SIP); + */ } /** * Returns true if the system supports SIP-based VoIP. */ public static boolean isVoipSupported(Context context) { + return true; + /* return context.getPackageManager().hasSystemFeature( PackageManager.FEATURE_SIP_VOIP) && isApiSupported(context); + */ } private SipManager() { |