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

Commit 367d5e8e authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Mark android.net.sip code as deprecated.

This code has not been maintained in a long while and has a number of
pretty big flaws including: lack of IPV6 support, reliance on broadcasts
which are supported to wake up background receivers but don't.

Recommendation is for developers to use any number of other open source
SIP VOIP stacks available in the ecosystem.

It is also not currently supported on all Android devices.

Test: Make update-api; make
Bug: 175910634
Change-Id: I480d59ae4a09f74a03daa5b542fcfa1ed4a27925
parent 1050d7b8
Loading
Loading
Loading
Loading
+223 −223

File changed.

Preview size limit exceeded, changes collapsed.

+12 −12
Original line number Diff line number Diff line
@@ -6667,22 +6667,22 @@ package android.net.netstats.provider {
package android.net.sip {
  public class SipAudioCall {
    method @Nullable public android.net.rtp.AudioGroup getAudioGroup();
    method public void setAudioGroup(@NonNull android.net.rtp.AudioGroup);
  @Deprecated public class SipAudioCall {
    method @Deprecated @Nullable public android.net.rtp.AudioGroup getAudioGroup();
    method @Deprecated public void setAudioGroup(@NonNull android.net.rtp.AudioGroup);
  }
  public class SipManager {
    method @NonNull public java.util.List<android.net.sip.SipProfile> getProfiles() throws android.net.sip.SipException;
    field public static final String ACTION_SIP_CALL_OPTION_CHANGED = "android.net.sip.action.SIP_CALL_OPTION_CHANGED";
    field public static final String ACTION_SIP_INCOMING_CALL = "android.net.sip.action.SIP_INCOMING_CALL";
    field public static final String ACTION_SIP_REMOVE_PROFILE = "android.net.sip.action.SIP_REMOVE_PROFILE";
    field public static final String ACTION_SIP_SERVICE_UP = "android.net.sip.action.SIP_SERVICE_UP";
    field public static final String ACTION_START_SIP = "android.net.sip.action.START_SIP";
  @Deprecated public class SipManager {
    method @Deprecated @NonNull public java.util.List<android.net.sip.SipProfile> getProfiles() throws android.net.sip.SipException;
    field @Deprecated public static final String ACTION_SIP_CALL_OPTION_CHANGED = "android.net.sip.action.SIP_CALL_OPTION_CHANGED";
    field @Deprecated public static final String ACTION_SIP_INCOMING_CALL = "android.net.sip.action.SIP_INCOMING_CALL";
    field @Deprecated public static final String ACTION_SIP_REMOVE_PROFILE = "android.net.sip.action.SIP_REMOVE_PROFILE";
    field @Deprecated public static final String ACTION_SIP_SERVICE_UP = "android.net.sip.action.SIP_SERVICE_UP";
    field @Deprecated public static final String ACTION_START_SIP = "android.net.sip.action.START_SIP";
  }
  public class SipProfile implements java.lang.Cloneable android.os.Parcelable java.io.Serializable {
    method public int getCallingUid();
  @Deprecated public class SipProfile implements java.lang.Cloneable android.os.Parcelable java.io.Serializable {
    method @Deprecated public int getCallingUid();
  }
}