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

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

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

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

Merge commit 'ea16e72b'

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