summaryrefslogtreecommitdiffstats
path: root/telecomm/java/com
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2015-04-23 12:32:36 -0700
committerYorke Lee <yorkelee@google.com>2015-04-23 16:48:52 -0700
commit3e56ba14cc1533ec2585994066b238f0e2c7f59a (patch)
tree99c2fab55ee560881fcf828321fbe5e678d41318 /telecomm/java/com
parent8d505ff025f16715d47f97d0f74a0cbba6c6391d (diff)
downloadframeworks_base-3e56ba14cc1533ec2585994066b238f0e2c7f59a.zip
frameworks_base-3e56ba14cc1533ec2585994066b238f0e2c7f59a.tar.gz
frameworks_base-3e56ba14cc1533ec2585994066b238f0e2c7f59a.tar.bz2
Add TelecomManager.placeCall
Places a new outgoing call using the system telecom service with the specified parameters. Making emergency calls using this method requires that the method-caller is either the user-selected default dialer app or preloaded system dialer app. Requires that the caller have the {@link android.Manifest.permission#CALL_PHONE} permission. Bug: 20348183 Change-Id: Ieedb5628e8c6be25137944e7c3639dc1d9bc61df
Diffstat (limited to 'telecomm/java/com')
-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 727fd4b..45b2482 100644
--- a/telecomm/java/com/android/internal/telecom/ITelecomService.aidl
+++ b/telecomm/java/com/android/internal/telecom/ITelecomService.aidl
@@ -210,4 +210,9 @@ interface ITelecomService {
* @see TelecomServiceImpl#addNewUnknownCall
*/
void addNewUnknownCall(in PhoneAccountHandle phoneAccount, in Bundle extras);
+
+ /**
+ * @see TelecomServiceImpl#placeCall
+ */
+ void placeCall(in Uri handle, in Bundle extras, String callingPackage);
}