Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b355714a authored by Hung-ying Tyan's avatar Hung-ying Tyan Committed by Android (Google) Code Review
Browse files

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

parents 3208557e 643fce97
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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() {