Loading voip/java/android/net/sip/SipProfile.java +1 −23 Original line number Diff line number Diff line Loading @@ -46,8 +46,7 @@ public class SipProfile implements Parcelable, Serializable, Cloneable { private String mProfileName; private boolean mSendKeepAlive = false; private boolean mAutoRegistration = true; private boolean mAllowOutgoingCall = false; private int mCallingUid = -1; private transient int mCallingUid = 0; /** @hide */ public static final Parcelable.Creator<SipProfile> CREATOR = Loading Loading @@ -244,18 +243,6 @@ public class SipProfile implements Parcelable, Serializable, Cloneable { return this; } /** * Sets the allow-outgoing-call flag. * * @param flag true if allowing to make outgoing call on the profile; * false otherwise * @return this builder object */ public Builder setOutgoingCallAllowed(boolean flag) { mProfile.mAllowOutgoingCall = flag; return this; } /** * Builds and returns the SIP profile object. * Loading Loading @@ -293,7 +280,6 @@ public class SipProfile implements Parcelable, Serializable, Cloneable { mProfileName = in.readString(); mSendKeepAlive = (in.readInt() == 0) ? false : true; mAutoRegistration = (in.readInt() == 0) ? false : true; mAllowOutgoingCall = (in.readInt() == 0) ? false : true; mCallingUid = in.readInt(); } Loading @@ -307,7 +293,6 @@ public class SipProfile implements Parcelable, Serializable, Cloneable { out.writeString(mProfileName); out.writeInt(mSendKeepAlive ? 1 : 0); out.writeInt(mAutoRegistration ? 1 : 0); out.writeInt(mAllowOutgoingCall ? 1 : 0); out.writeInt(mCallingUid); } Loading Loading @@ -434,13 +419,6 @@ public class SipProfile implements Parcelable, Serializable, Cloneable { return mAutoRegistration; } /** * Returns true if allowing to make outgoing calls on this profile. */ public boolean isOutgoingCallAllowed() { return mAllowOutgoingCall; } /** * Sets the calling process's Uid in the sip service. * @hide Loading Loading
voip/java/android/net/sip/SipProfile.java +1 −23 Original line number Diff line number Diff line Loading @@ -46,8 +46,7 @@ public class SipProfile implements Parcelable, Serializable, Cloneable { private String mProfileName; private boolean mSendKeepAlive = false; private boolean mAutoRegistration = true; private boolean mAllowOutgoingCall = false; private int mCallingUid = -1; private transient int mCallingUid = 0; /** @hide */ public static final Parcelable.Creator<SipProfile> CREATOR = Loading Loading @@ -244,18 +243,6 @@ public class SipProfile implements Parcelable, Serializable, Cloneable { return this; } /** * Sets the allow-outgoing-call flag. * * @param flag true if allowing to make outgoing call on the profile; * false otherwise * @return this builder object */ public Builder setOutgoingCallAllowed(boolean flag) { mProfile.mAllowOutgoingCall = flag; return this; } /** * Builds and returns the SIP profile object. * Loading Loading @@ -293,7 +280,6 @@ public class SipProfile implements Parcelable, Serializable, Cloneable { mProfileName = in.readString(); mSendKeepAlive = (in.readInt() == 0) ? false : true; mAutoRegistration = (in.readInt() == 0) ? false : true; mAllowOutgoingCall = (in.readInt() == 0) ? false : true; mCallingUid = in.readInt(); } Loading @@ -307,7 +293,6 @@ public class SipProfile implements Parcelable, Serializable, Cloneable { out.writeString(mProfileName); out.writeInt(mSendKeepAlive ? 1 : 0); out.writeInt(mAutoRegistration ? 1 : 0); out.writeInt(mAllowOutgoingCall ? 1 : 0); out.writeInt(mCallingUid); } Loading Loading @@ -434,13 +419,6 @@ public class SipProfile implements Parcelable, Serializable, Cloneable { return mAutoRegistration; } /** * Returns true if allowing to make outgoing calls on this profile. */ public boolean isOutgoingCallAllowed() { return mAllowOutgoingCall; } /** * Sets the calling process's Uid in the sip service. * @hide Loading