OSDN Git Service

Add Connection.startActivityFromInCall
authorSailesh Nepal <sail@google.com>
Fri, 18 Jul 2014 21:49:18 +0000 (14:49 -0700)
committerSailesh Nepal <sail@google.com>
Fri, 18 Jul 2014 21:59:30 +0000 (14:59 -0700)
commit2ab88cc313fc4af7fb9436e236cd3a5d1ac58478
treef6dca56116cd18fc772a43368f39798b320e0b34
parent480315939d4a321992e0288d19797f30e4561e62
Add Connection.startActivityFromInCall

This CL adds a new public API to allow Connections
to start an activity on top of the in-call UI.

The Connection passes a PendingIntent to Telecomm which
then forwards it on to InCallUI. The Connection can cancel
the operation by calling PendingIntent.cancel().

This allows services like SIP and Hangouts to show dialogs
to the user when making a call.

Change-Id: I65119a89c925a93467d1b27304ffec9b088b172f
12 files changed:
api/current.txt
telecomm/java/android/telecomm/Call.java
telecomm/java/android/telecomm/Connection.java
telecomm/java/android/telecomm/ConnectionService.java
telecomm/java/android/telecomm/ConnectionServiceAdapter.java
telecomm/java/android/telecomm/InCallService.java
telecomm/java/android/telecomm/Phone.java
telecomm/java/android/telecomm/RemoteCallVideoClient.java
telecomm/java/android/telecomm/RemoteConnection.java
telecomm/java/android/telecomm/RemoteConnectionService.java
telecomm/java/com/android/internal/telecomm/IConnectionServiceAdapter.aidl
telecomm/java/com/android/internal/telecomm/IInCallService.aidl