summaryrefslogtreecommitdiffstats
path: root/voip
diff options
context:
space:
mode:
authorHung-ying Tyan <tyanh@google.com>2010-09-02 05:43:59 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-09-02 05:43:59 -0700
commite93a49216654037e39b704249a5ad01ea1b34ecb (patch)
tree4693b8f72a00da33b457a4d09d9df47b19809b86 /voip
parentf072bced91167cd707399163bdb9b97f76846a8d (diff)
parent18dfae226b0f9d3983226eb6cd377fc937b30730 (diff)
downloadframeworks_base-e93a49216654037e39b704249a5ad01ea1b34ecb.zip
frameworks_base-e93a49216654037e39b704249a5ad01ea1b34ecb.tar.gz
frameworks_base-e93a49216654037e39b704249a5ad01ea1b34ecb.tar.bz2
am 18dfae22: am 60264b30: SipProfile: remove outgoingCallAllowed flag.
Merge commit '18dfae226b0f9d3983226eb6cd377fc937b30730' * commit '18dfae226b0f9d3983226eb6cd377fc937b30730': SipProfile: remove outgoingCallAllowed flag.
Diffstat (limited to 'voip')
-rw-r--r--voip/java/android/net/sip/SipProfile.java24
1 files changed, 1 insertions, 23 deletions
diff --git a/voip/java/android/net/sip/SipProfile.java b/voip/java/android/net/sip/SipProfile.java
index 6c99141..aa2da75 100644
--- a/voip/java/android/net/sip/SipProfile.java
+++ b/voip/java/android/net/sip/SipProfile.java
@@ -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 =
@@ -245,18 +244,6 @@ public class SipProfile implements Parcelable, Serializable, Cloneable {
}
/**
- * 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.
*
* @return the profile object created
@@ -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();
}
@@ -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);
}
@@ -435,13 +420,6 @@ public class SipProfile implements Parcelable, Serializable, Cloneable {
}
/**
- * 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
*/