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.
This commit is contained in:
Hung-ying Tyan
2010-09-02 19:26:56 -07:00
committed by Android Git Automerger

View File

@ -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() {