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:
@ -83,16 +83,22 @@ public class SipManager {
|
|||||||
* Returns true if the SIP API is supported by the system.
|
* Returns true if the SIP API is supported by the system.
|
||||||
*/
|
*/
|
||||||
public static boolean isApiSupported(Context context) {
|
public static boolean isApiSupported(Context context) {
|
||||||
|
return true;
|
||||||
|
/*
|
||||||
return context.getPackageManager().hasSystemFeature(
|
return context.getPackageManager().hasSystemFeature(
|
||||||
PackageManager.FEATURE_SIP);
|
PackageManager.FEATURE_SIP);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns true if the system supports SIP-based VoIP.
|
* Returns true if the system supports SIP-based VoIP.
|
||||||
*/
|
*/
|
||||||
public static boolean isVoipSupported(Context context) {
|
public static boolean isVoipSupported(Context context) {
|
||||||
|
return true;
|
||||||
|
/*
|
||||||
return context.getPackageManager().hasSystemFeature(
|
return context.getPackageManager().hasSystemFeature(
|
||||||
PackageManager.FEATURE_SIP_VOIP) && isApiSupported(context);
|
PackageManager.FEATURE_SIP_VOIP) && isApiSupported(context);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
private SipManager() {
|
private SipManager() {
|
||||||
|
Reference in New Issue
Block a user