Merge "SipManager: always return true for SIP API and VOIP support query." into gingerbread

This commit is contained in:
Hung-ying Tyan
2010-09-02 19:23:31 -07:00
committed by Android (Google) Code Review

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