summaryrefslogtreecommitdiffstats
path: root/telecomm/java/com
diff options
context:
space:
mode:
authorSandeep Kunta <skunta@codeaurora.org>2014-09-01 17:21:05 +0530
committerLinux Build Service Account <lnxbuild@localhost>2015-10-06 03:28:18 -0600
commit2f7270f2add532423ba4afe14518a24fdc32d7a0 (patch)
treec7a8365f5eb6f3a042581cce50a7dc90f2867be7 /telecomm/java/com
parent551189e78d24402f2f4739b1e258d028c05351f4 (diff)
downloadframeworks_base-2f7270f2add532423ba4afe14518a24fdc32d7a0.zip
frameworks_base-2f7270f2add532423ba4afe14518a24fdc32d7a0.tar.gz
frameworks_base-2f7270f2add532423ba4afe14518a24fdc32d7a0.tar.bz2
MSIM: Add support for DSDA.
1. Interface changes to inform local call hold and setActiveSubscription to telephony service from telecomm service. 2. Interface in Telecomm manager to query active subscription and switch to other subscription. 3. Add support in PhoneAccount to maintain LCH & active subscription information. 4. Interface changes to inform sub switch between inCallUI and Telecomm service. Change-Id: I942122eab45a19ea30abc92c90228d9115c1df78
Diffstat (limited to 'telecomm/java/com')
-rw-r--r--telecomm/java/com/android/internal/telecom/IConnectionService.aidl2
-rw-r--r--telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl2
-rw-r--r--telecomm/java/com/android/internal/telecom/ITelecomService.aidl10
3 files changed, 14 insertions, 0 deletions
diff --git a/telecomm/java/com/android/internal/telecom/IConnectionService.aidl b/telecomm/java/com/android/internal/telecom/IConnectionService.aidl
index c2e8530..7dc062af 100644
--- a/telecomm/java/com/android/internal/telecom/IConnectionService.aidl
+++ b/telecomm/java/com/android/internal/telecom/IConnectionService.aidl
@@ -71,4 +71,6 @@ oneway interface IConnectionService {
void swapConference(String conferenceCallId);
void onPostDialContinue(String callId, boolean proceed);
+
+ void setLocalCallHold(String callId, boolean lchState);
}
diff --git a/telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl b/telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl
index 863fff2..ee51efa 100644
--- a/telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl
+++ b/telecomm/java/com/android/internal/telecom/IInCallAdapter.aidl
@@ -60,4 +60,6 @@ oneway interface IInCallAdapter {
void turnOnProximitySensor();
void turnOffProximitySensor(boolean screenOnImmediately);
+
+ void switchToOtherActiveSub(String subId);
}
diff --git a/telecomm/java/com/android/internal/telecom/ITelecomService.aidl b/telecomm/java/com/android/internal/telecom/ITelecomService.aidl
index 2e07759..cad8c5d 100644
--- a/telecomm/java/com/android/internal/telecom/ITelecomService.aidl
+++ b/telecomm/java/com/android/internal/telecom/ITelecomService.aidl
@@ -232,4 +232,14 @@ interface ITelecomService {
* @see TelecomServiceImpl#setDefaultDialer
*/
boolean setDefaultDialer(in String packageName);
+
+ /**
+ * @see TelecommManager#getActiveSubscription
+ */
+ int getActiveSubscription();
+
+ /**
+ * @see TelecommManager#switchToOtherActiveSub
+ */
+ void switchToOtherActiveSub(int subId);
}