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

Commit a0cdfbf5 authored by Hung-ying Tyan's avatar Hung-ying Tyan
Browse files

Uncomment SIP/VOIP feature check in SipManager.

http://b/issue?id=2971947

Change-Id: I3afa8eb03c4e347b382213dd388354365f766b2f
parent 78a76fea
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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);
         */
    }

    /**