Loading src/java/com/android/internal/telephony/Phone.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -838,6 +838,8 @@ public interface Phone { void hangupWithReason(int callId, String userUri, void hangupWithReason(int callId, String userUri, boolean mpty, int failCause, String errorInfo) throws CallStateException; boolean mpty, int failCause, String errorInfo) throws CallStateException; void deflectCall(int callId, String number) throws CallStateException; /** /** * Clears all DISCONNECTED connections from Call connection lists. Calls * Clears all DISCONNECTED connections from Call connection lists. Calls * that were in the DISCONNECTED state become idle. This occurs * that were in the DISCONNECTED state become idle. This occurs Loading src/java/com/android/internal/telephony/PhoneBase.java +5 −0 Original line number Original line Diff line number Diff line Loading @@ -1544,6 +1544,11 @@ public abstract class PhoneBase extends Handler implements Phone { + this); + this); } } public void deflectCall(int callId, String number) throws CallStateException { throw new CallStateException("deflectCall is not supported in this phone " + this); } public void registerForModifyCallRequest(Handler h, int what, Object obj) public void registerForModifyCallRequest(Handler h, int what, Object obj) throws CallStateException { throws CallStateException { throw new CallStateException("registerForModifyCallRequest is not supported in this phone " throw new CallStateException("registerForModifyCallRequest is not supported in this phone " Loading src/java/com/android/internal/telephony/PhoneProxy.java +4 −0 Original line number Original line Diff line number Diff line Loading @@ -1311,6 +1311,10 @@ public class PhoneProxy extends Handler implements Phone { mActivePhone.hangupWithReason(callId, userUri, mpty, failCause, errorInfo); mActivePhone.hangupWithReason(callId, userUri, mpty, failCause, errorInfo); } } public void deflectCall(int callId, String number) throws CallStateException { mActivePhone.deflectCall(callId, number); } public int getSubscription() { public int getSubscription() { return mActivePhone.getSubscription(); return mActivePhone.getSubscription(); } } Loading Loading
src/java/com/android/internal/telephony/Phone.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -838,6 +838,8 @@ public interface Phone { void hangupWithReason(int callId, String userUri, void hangupWithReason(int callId, String userUri, boolean mpty, int failCause, String errorInfo) throws CallStateException; boolean mpty, int failCause, String errorInfo) throws CallStateException; void deflectCall(int callId, String number) throws CallStateException; /** /** * Clears all DISCONNECTED connections from Call connection lists. Calls * Clears all DISCONNECTED connections from Call connection lists. Calls * that were in the DISCONNECTED state become idle. This occurs * that were in the DISCONNECTED state become idle. This occurs Loading
src/java/com/android/internal/telephony/PhoneBase.java +5 −0 Original line number Original line Diff line number Diff line Loading @@ -1544,6 +1544,11 @@ public abstract class PhoneBase extends Handler implements Phone { + this); + this); } } public void deflectCall(int callId, String number) throws CallStateException { throw new CallStateException("deflectCall is not supported in this phone " + this); } public void registerForModifyCallRequest(Handler h, int what, Object obj) public void registerForModifyCallRequest(Handler h, int what, Object obj) throws CallStateException { throws CallStateException { throw new CallStateException("registerForModifyCallRequest is not supported in this phone " throw new CallStateException("registerForModifyCallRequest is not supported in this phone " Loading
src/java/com/android/internal/telephony/PhoneProxy.java +4 −0 Original line number Original line Diff line number Diff line Loading @@ -1311,6 +1311,10 @@ public class PhoneProxy extends Handler implements Phone { mActivePhone.hangupWithReason(callId, userUri, mpty, failCause, errorInfo); mActivePhone.hangupWithReason(callId, userUri, mpty, failCause, errorInfo); } } public void deflectCall(int callId, String number) throws CallStateException { mActivePhone.deflectCall(callId, number); } public int getSubscription() { public int getSubscription() { return mActivePhone.getSubscription(); return mActivePhone.getSubscription(); } } Loading