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

Commit ea16e72b authored by Hung-ying Tyan's avatar Hung-ying Tyan Committed by Android Git Automerger
Browse files

am b355714a: Merge "SipManager: always return true for SIP API and VOIP...

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

Merge commit 'b355714a' into gingerbread-plus-aosp

* commit 'b355714a':
  SipManager: always return true for SIP API and VOIP support query.
parents beccf3c4 b355714a
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() {