summaryrefslogtreecommitdiffstats
path: root/telecomm/java/com
diff options
context:
space:
mode:
authorKamaljeet Maini <kmaini@cyngn.com>2016-04-22 14:19:56 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-05-06 11:45:24 -0700
commit28393c9b61f6f40c1ef88388a253d2178c8b0c2a (patch)
tree8c26e386425923d7be706e89c0175a647f9113ab /telecomm/java/com
parent35c5005e78a70610713bb16e024a0039f0c614c9 (diff)
downloadframeworks_base-28393c9b61f6f40c1ef88388a253d2178c8b0c2a.zip
frameworks_base-28393c9b61f6f40c1ef88388a253d2178c8b0c2a.tar.gz
frameworks_base-28393c9b61f6f40c1ef88388a253d2178c8b0c2a.tar.bz2
Add new options for call waiting response in InCallUI
When an incoming call is received while there is already an active call, the user will be given four choices for the response: 1) Left button: hold the current call and answer incoming call 2) Bottom button: end the current call and answer the incoming call 3) Right button: decline the incoming call 4) Top button: Send a text message to the incoming caller if texting is enabled The framework changes include new hidden API for sending additional information to Telecomm service, few constants, and a bug fix. Change-Id: I642b330d856613fafc0526eb79dd97fedba4ce6a
Diffstat (limited to 'telecomm/java/com')
-rw-r--r--telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl3
1 files changed, 3 insertions, 0 deletions
diff --git a/telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl b/telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl
index 6ef8eda..3104fb2 100644
--- a/telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl
+++ b/telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl
@@ -64,4 +64,7 @@ oneway interface IInCallAdapter {
void switchToOtherActiveSub(String subId);
void transferCall(String callId);
+
+ void answerCallWithCallWaitingResponse(String callId, int videoState, int
+ callWaitingResponseType);
}