am 45bd8303
: Merge "Uncomment SIP/VOIP feature check in SipManager." into gingerbread
Merge commit '45bd8303fe20f20843f5a76ddf42a5ace54add58' into gingerbread-plus-aosp * commit '45bd8303fe20f20843f5a76ddf42a5ace54add58': Uncomment SIP/VOIP feature check in SipManager.
This commit is contained in:
@ -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);
|
||||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user