summaryrefslogtreecommitdiffstats
path: root/telecomm/java/com/android/internal/telecom
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-09-12 17:58:48 -0700
committerYorke Lee <yorkelee@google.com>2014-09-14 09:54:23 -0700
commit2ae312e30652a4d0019b17825b58d558c4483a58 (patch)
tree7fd8660d59d945ab1fa0fdf5e73503f43f460b2e /telecomm/java/com/android/internal/telecom
parentc68f27625bfd18d945ab214983ae05206b6f3bfa (diff)
downloadframeworks_base-2ae312e30652a4d0019b17825b58d558c4483a58.zip
frameworks_base-2ae312e30652a4d0019b17825b58d558c4483a58.tar.gz
frameworks_base-2ae312e30652a4d0019b17825b58d558c4483a58.tar.bz2
Pipe TelephonyManager.getCallState through TelecommManager
* Add TelecommManager.getCallState (hidden API) * Make TelephonyManager.getCallState call through to TelecommManager, to be consistent with TelephonyManager.ACTION_PHONE_STATE_CHANGED broadcasts for overall call state. Telephony continues to manage call states for individual subscriptions. Bug: 17378767 Change-Id: Ia5e8b21df801ed3af4f6e14c110a72c92f077f88
Diffstat (limited to 'telecomm/java/com/android/internal/telecom')
-rw-r--r--telecomm/java/com/android/internal/telecom/ITelecomService.aidl5
1 files changed, 5 insertions, 0 deletions
diff --git a/telecomm/java/com/android/internal/telecom/ITelecomService.aidl b/telecomm/java/com/android/internal/telecom/ITelecomService.aidl
index 4edce53..4875cc3 100644
--- a/telecomm/java/com/android/internal/telecom/ITelecomService.aidl
+++ b/telecomm/java/com/android/internal/telecom/ITelecomService.aidl
@@ -139,6 +139,11 @@ interface ITelecomService {
boolean isRinging();
/**
+ * @see TelecomServiceImpl#getCallState
+ */
+ int getCallState();
+
+ /**
* @see TelecomServiceImpl#endCall
*/
boolean endCall();