History log of /frameworks/base/telecomm/java/android/telecom/InCallService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
356322fb1e2cc581bb181f927550843a36aedcea 07-Mar-2017 Tyler Gunn <tgunn@google.com> Merge "API review cleanups/changes." am: 9324d6513b am: dd4bc7c69c
am: c49b011151

Change-Id: Ib3d76474bef8c911b2ec6a61b916e38af0a3b861
159f35c8e4a2d5902cbbeb8d3b9a80bddf247de3 02-Mar-2017 Tyler Gunn <tgunn@google.com> API review cleanups/changes.

- Change onCreateIncomingConnectionFailed/onCreateOutgoingConnectionFailed
to accept the connection mgr phone account as the first parameter.
- For the video APIs, pass the target SDK of the caller into along so
that the Telecom permission check can have fallback behavior for older API
versions.
- Add guidance for how UX should be shown in onShowIncomingCallUi API.
API guidance follows how the Dialer app shows its notification and full
screen UX.

Test: Manual, CTS.
Bug: 35767711
Bug: 35767096
Change-Id: Ib343f0eda1a4d067a38c553f33f140b4efcf3e48
/frameworks/base/telecomm/java/android/telecom/InCallService.java
57006aa82a69740df73415a456d31993e2785e24 06-Feb-2017 Hall Liu <hallliu@google.com> Add further Connection-side APIs for RTT (part 2)

Add methods and callbacks to facilitate local and remote RTT initiation
and termination in the middle of a call. Adds @hide Connection-side APIs
to communicate with the ConnectionService, as well as plumbing for
RemoteConnections.

Test: manual, through telecom testapps
Change-Id: Ia80604b7dff8586ff222dbccdbe55e91aab02178
/frameworks/base/telecomm/java/android/telecom/InCallService.java
95d5587d0aad9dfd49f798408f4212f95ce68fc7 26-Jan-2017 Hall Liu <hallliu@google.com> Introduce APIs for RTT calls (part 1)

Add signaling methods and data pipes for handling real-time text during
a call.

Change-Id: I876827c448252c5f786d7a4919c47891acb03877
Test: manual, through telecom testapps
/frameworks/base/telecomm/java/android/telecom/InCallService.java
bf9c6fdb43413929787ee3abeb76e5aabd1551d8 09-Nov-2016 Tyler Gunn <tgunn@google.com> Perform camera permission and app ops check when setting camera for VT.

When a calling InCallService attempts to use the setCamera API on the
VideoCall, Telecom will perform a permission check to ensure that the
caller has the correct camera permission and passes the app-ops camera
check. A failure to set the camera will result in a callback via the
call session event API.

This got a little messy as the app ops package name needs to come from the
InCallService, and handler usage in the VideoProvider API means we had to
pass around the uid/pid of the caller, obtained before we trampoline onto
the handler.

Test: Unit tests added, manual testing performed.
Bug: 32747443
Change-Id: I555a04f9c3fb45e60bb811f64ba855ccf2e3b0e2
/frameworks/base/telecomm/java/android/telecom/InCallService.java
06f3fa66b7af74f8168963468d0932032fadb74d 25-Aug-2016 Tyler Gunn <tgunn@google.com> Update InCallService#onConnectionEvent comments.

Update comments to indicate the method is unused and to point developers
to the correct method.

Bug: 31056610
Change-Id: I5d1da69914e0fccd3cf3c504b68acbcf0c70c9c4
/frameworks/base/telecomm/java/android/telecom/InCallService.java
2cbe2b5816c3a6b55144a3a731cab894761c780d 04-May-2016 Tyler Gunn <tgunn@google.com> Un-@hide multi-endpoint APIs.

Bug: 28621640
This reverts commit 1bf206b766654ea9c4e9bc7a703a9d5f1d30ab72.
Change-Id: If8c85e4adeb017eec2b7e8199010deae2a920c6a
/frameworks/base/telecomm/java/android/telecom/InCallService.java
1bf206b766654ea9c4e9bc7a703a9d5f1d30ab72 15-Apr-2016 Tyler Gunn <tgunn@google.com> Hide multi-endpoint APIs.

Per feature council decision, the multi-endpoint APIs will be @hide for
the N release.

Bug: 28196918
Change-Id: Ia80b089bc754ce87ca208382eb79442b5265844d
/frameworks/base/telecomm/java/android/telecom/InCallService.java
876dbfb4767da4a2ba5459d5b78fb6eb55e4516f 14-Mar-2016 Tyler Gunn <tgunn@google.com> Add API support for multi-endpoint.

This CL includes changes required to support multi-endpoint (see the
design doc linked off the bug).

Main changes include:
- support for indicating if a call/connection is "external" to the device.
- support for indicating if an external call can be pulled from the
remote device to the local device.
- API used to initiate a pull of a call external to the current device to
the current device.
- Made the "connection event" API public (was previously @hide); this will
be used to support passing some error events involving pulling calls to
the incall ui.
- Added new InCallService metadata which will be used to determine if an
InCallService wants to be informed of external calls.
- New disconnect causes which will be used to expose the fact that a
multi-endpoint call was answered elsewhere and that a call ended because
it was pulled to another device.
- New call log call types to indicate if calls were answered elsewhere
or pulled to another device.

Bug: 27458894
Change-Id: I423f64ff965b5e50194635a51868c327782db2a1
/frameworks/base/telecomm/java/android/telecom/InCallService.java
9c2618b17fe580d70994ba8f5d999f20804575f9 24-Jan-2016 Sailesh Nepal <sail@google.com> Expose a meta-data value to allow dialer ringing

This CL exposes a new meta-data, IN_CALL_SERVICE_RINGING. If this is set
to true then ringing is played by the dialer instead of Telecom.

This CL also adds a new silenceRinger() API to InCallService. This is
needed to implement ringer silence on volume key down.

BUG: 22857261
Change-Id: I498538282eddbb727104f5b879f25adbef4e6cf6
/frameworks/base/telecomm/java/android/telecom/InCallService.java
78f3ba6ea49f1279bb29577cbd97baf3eb8b1fe3 29-Dec-2015 Sailesh Nepal <sail@google.com> Fix InCallService permission doc

Small typo in the docs for InCallService.

Change-Id: I551248858723047d30061d164976fb2e3418ed67
/frameworks/base/telecomm/java/android/telecom/InCallService.java
71fbb81b14958b80fe55738607740c6630e4e9da 30-Nov-2015 Neil Fuller <nfuller@google.com> Fix @code escapes

The body of {@code} must not be HTML escaped. This is one of
several changes that fix the source in conjunction with a
doclava fix.

Bug: 25757239
Change-Id: Ib38a0fa2dd2a3d68e467f78a812071e763d7e881
/frameworks/base/telecomm/java/android/telecom/InCallService.java
895d4b8f63389b79974dfd3e36f1ab10b5ceb4dc 26-Jun-2015 Santos Cordon <santoscordon@google.com> Telecom API council changes.

- adding more javadocs.
- fixing javadoc on isEnabled
- renaming to CONFIGURE_PHONE_ACCOUNT

Bug: 21573551
Change-Id: Ice035b8573a08ea18181a73c9e9a462520a934f1
/frameworks/base/telecomm/java/android/telecom/InCallService.java
f2600eb5aca1ec9bda2674d878528a770d5c220b 23-Jun-2015 Santos Cordon <santoscordon@google.com> InCallService meta-data [2/4]

Bug: 21816241

Change-Id: I9af91a1287f652247ef590878759aa277bd925e5
/frameworks/base/telecomm/java/android/telecom/InCallService.java
295f5d7777ba63836bf75cb4de15bdaae06dfc1f 04-Jun-2015 Tyler Gunn <tgunn@google.com> Add API docs for RemoteConnection VideoProvider/Callback.

Bug: 21573551
Change-Id: I434d83fa84f9515634776820b2e6a8004cf693ee
/frameworks/base/telecomm/java/android/telecom/InCallService.java
b702ef8a91c9adec68b11e36c50b89fd5bcbb607 29-May-2015 Tyler Gunn <tgunn@google.com> Cleanup Video API javadoc.

- Cleaned up documentation and added more details where possible.
- Also added cross references from the VideoProvider and VideoCall
APIs to make it more clear what the link is between the two.

Bug: 21520606
Change-Id: I0a79450d69841df5850061311a523b37688efc49
/frameworks/base/telecomm/java/android/telecom/InCallService.java
4af5935c71f1e31ef1aec27661c4ef60545a0924 13-May-2015 Yorke Lee <yorkelee@google.com> Rename AudioState to CallAudioState

Deprecate AudioState class and make methods @SystemApi where
necessary to minimize impact to SystemApi
Replace usages of AudioState inside Telecom sub-systems
Fire both onCallAudioStateChanged and onAudioStateChanged callbacks
for backward compatibility
Support both setAudioState and setCallAudioState for all classes

Bug: 21040387
Bug: 21088300
Change-Id: I3ec7b3afdaa344c6d639d1c421f1842d67f7d0f7
/frameworks/base/telecomm/java/android/telecom/InCallService.java
32f24731604fd81289a39619bbc925b65184b505 13-May-2015 Yorke Lee <yorkelee@google.com> More video related API fixes

android.telecom.Connection.VideoProvider
* onSetPauseImage takes Uri instead of String
* changeCallDataUsage -> setCallDataUsage
* add quality constants to changeVideoQuality() docs

android.telecom.InCallService.VideoCall
* setPauseImage takes Uri instea dof String

android.telecom.VideoProfile.VideoState
* Move constants to VideoProfile, prefix with STATE_

Bug: 21040387
Bug: 21066505
Change-Id: I764e72aced9d1e2d30d6d0cf0862100860d47c79
/frameworks/base/telecomm/java/android/telecom/InCallService.java
400470fab932fe3374149ab89386e460ea161002 12-May-2015 Yorke Lee <yorkelee@google.com> Fixes for APi review

Move CameraCapabilities into VideoProfile
Make PhoneAccount and PhoneAccountHandle final

Bug: 21040387
Bug: 21066505
Change-Id: I72453c89ae3765f9b9cf263938fce96d5978d2e0
/frameworks/base/telecomm/java/android/telecom/InCallService.java
011728fc3a4368b601844d225d1f37bf48ea5735 24-Apr-2015 Andrew Lee <anwlee@google.com> Add handler parameter for callbacks.

Bug: 20160491
Change-Id: I94639b06b8c97b6585e169d667a67ce328e716af
/frameworks/base/telecomm/java/android/telecom/InCallService.java
912270e22d11dab354cd0503b700c1dfca790a0a 25-Apr-2015 Etan Cohen <etancohen@google.com> Doc fix - incorrect format (included argument) for function reference.

Change-Id: I2cdf7b4f078b1ab0556fcc3fad5287f86641c396
/frameworks/base/telecomm/java/android/telecom/InCallService.java
237a59767d4c38b4b69fcc2a9b9d88cad5c5e97e 25-Apr-2015 Etan Cohen <etancohen@google.com> Fix documentation - non-public API.

Change-Id: I418bf47b197936b2f50b231425312d5b6d272df8
/frameworks/base/telecomm/java/android/telecom/InCallService.java
1418054108e3811db80e28496b335514b51b10f4 25-Apr-2015 Etan Cohen <etancohen@google.com> Rename removeVideoCallListener to unregisterCallback

Change-Id: Ie6b5ac9131e81900efc7d3fa67056aa47d566a44
/frameworks/base/telecomm/java/android/telecom/InCallService.java
d7b4b81274e8a0f885be553ea8e153ea5447798d 24-Apr-2015 Etan Cohen <etancohen@google.com> Merge commit '7595842' into merge2

Change-Id: I7e11e98e6d59562374195a8761d64a79dc0268e8
84a264004d7e933b1be453ec38099da5b63e1ace 17-Apr-2015 Andrew Lee <anwlee@google.com> Remove deprecated VideoCallListener methods.

These shouldn't be needed because the video call APIs were never
previously made public.

Bug: 20160491
Change-Id: Ic9c5d0d1e8618bfe61f8905d4afaeaa37f51c915
/frameworks/base/telecomm/java/android/telecom/InCallService.java
600aaf013af293339783a4b53c566039407ce4c8 17-Apr-2015 Andrew Lee <anwlee@google.com> Merge "Fix comment typos. =("
223a80d7c6c40d468319f15af2a73c8681b19f1c 17-Apr-2015 Santos Cordon <santoscordon@google.com> Merge "Unfinal getPhone."
29886d8571b703c4b9559d51421e8051bb1641c1 17-Apr-2015 Santos Cordon <santoscordon@google.com> Unfinal getPhone.

The change to make it final was breaking existing apps.

...and other changes.

Bug: 20283873
Change-Id: I8db4243850ad15f688dbca59ff5427b4799cbd1b
/frameworks/base/telecomm/java/android/telecom/InCallService.java
7c9ee2b0c59b7f215511c3c9000f71d5e902715a 17-Apr-2015 Andrew Lee <anwlee@google.com> Fix comment typos. =(

Bug:20160491
Change-Id: I1782f6a0c5597f937c8882c6c94740c63cd63b53
/frameworks/base/telecomm/java/android/telecom/InCallService.java
843b327ae29e6f8823db46ea357653c91c9a6958 17-Apr-2015 Andrew Lee <anwlee@google.com> Merge "Rename Call*Listener to Call*Callback."
da80c870a8c6d796446c373db9c9a989ebf8a388 15-Apr-2015 Andrew Lee <anwlee@google.com> Rename Call*Listener to Call*Callback.

Deprecate the existing Listener methods and interfaces so that they
can be replaced.

Bug: 20160491
Change-Id: I11c104c625b03751f3792fc4367883c18c6e2d54
/frameworks/base/telecomm/java/android/telecom/InCallService.java
a2492810dfb0cd290b5466e33d5bdc5be4fb330e 15-Apr-2015 Santos Cordon <santoscordon@google.com> Move Phone.java APIs into InCallService

This change is one step in the right direction of getting rid of
Phone.java.

Phone.java was deemed superfluous and this change moves the methods
previously exposed in Phone.java into InCallService. This was done by
having InCallService listen to Phone and pipe the calls as appropriate.
However, state still lives in Phone and we eventually want to move that
code into InCallService. That will be done in a later CL.

Bug: 20160495
Change-Id: Id142431c253c1f24f260da42e8bedd1eb2ce448b
/frameworks/base/telecomm/java/android/telecom/InCallService.java
75958420f2d294ceda517c2782b294002dc2969f 15-Apr-2015 Tyler Gunn <tgunn@google.com> Support for multiple VideoCall.Listeners for a VideoCall.

The current code assumes that only a single instance of VideoCall will be
provided to the default system InCall UI. Ideally multiple
InCallService implementations should be able to use the VideoCall APIs.
Note: it only really makes sense for a single InCallService to get/set
the video surfaces.

- Fixed bug in ParcelableCall which would cause a new instance of
VideoCallImpl to be created every time a call is updated from Telecom.
Added a flag to ParcelableCall to indicate whether the parcel includes a
change to the video provider information, which is used when unparceling
to determine whether to set/create the video call impl.
- Renamed "setVideoCallback" to "addVideocallback".
- Modified Connection.VideoProvider code to keep a list of Video callbacks
and fire off all of them when Video Provider changes occur.

Bug: 20092420
Change-Id: Ic16b6afe1b7532cc64d006c133adbae57946d97d
/frameworks/base/telecomm/java/android/telecom/InCallService.java
1cf9b6bec12c027a0d551540a6e01f3ac2d0a9d4 10-Apr-2015 Jay Shrauner <shrauner@google.com> DO NOT MERGE Make Telecom/InCallUI APIs public

Bug:20260870
Change-Id: Ie3a2db0685664f2f1ceea8f40b1249d01e9385b8
/frameworks/base/telecomm/java/android/telecom/InCallService.java
55b97525f0f50857f1ab0acd2608053fd0f3416c 10-Apr-2015 Jay Shrauner <shrauner@google.com> Make Telecom/InCallUI APIs public

Bug:20260870
Change-Id: Ie3a2db0685664f2f1ceea8f40b1249d01e9385b8
/frameworks/base/telecomm/java/android/telecom/InCallService.java
193de667edf016965cf8c2a9c8e16433d0d0307b 15-Apr-2015 Jay Shrauner <shrauner@google.com> DO NOT MERGE Remove deprecated telecom APIs. Mark others final.

Bug:
Change-Id: I8a04903052a964f3997b5bb36730b8b200c8e472
/frameworks/base/telecomm/java/android/telecom/InCallService.java
164a0acf53a3496c974a97ed35834e6195c14e4b 15-Apr-2015 Jay Shrauner <shrauner@google.com> Remove deprecated telecom APIs. Mark others final.

Bug:
Change-Id: I8a04903052a964f3997b5bb36730b8b200c8e472
/frameworks/base/telecomm/java/android/telecom/InCallService.java
07366813cdf3768dcd69a1f744023747564d654a 25-Mar-2015 Rekha Kumar <rekhak@codeaurora.org> IMS-VT: Upgrade/Downgrade change
-Add isVideo API to VideoProfile.VideoState

IMS-VT: Fix propagation of device orientation.
Orientation received at VT Service is incorrect.
Fixed propagation of device orientation to VT service.

IMS-VT: Upgrade fix
-Add session modify call timed out constant

Notify listeners of video quality changed event
- Propagate the video quality changed message to the UI.

IMS: Add support for video quality
- Add Config interface to get/set video quality

IMS-VT: Multitasking feature
-Support for video multitasking

IMS-VT: Modification of data usage aidl
Change data usage aidl interface to take parameter type long
instead of int

Change-Id: I7cda2a689edb86d025dfe8efc8f573918c4bd6bc

Propagate the call substate changed message to the UI

IMS-VT: Add call modifiable capability

PhoneCapababilities call type modifiable constant added

IMS-VT: Add a bit mask CALL_SUBSTATE_ALL with all call substate bits set

IMS-VT: Enable Video conferencing.

Enable Video conferencing.

Change-Id: I4240aa6f32c75d6eea8a41da3c87bca651f0901b

IMS-VT: Add hide for setVideoProvider API
Observed compilation error for SDK generation due to setVideoProvider
API. Marking setVideoProvider as hide inorder to resolve the
compilation error.

IMS-VT: Add persist.radio.ims.audio.output for VT calls
-- Add persist.radio.ims.audio.output to set the default speaker
for VT calls.
-- Add required constants

IMS-VT: Add additional error codes for upgrade downgrade
-Add support to send additional error codes to UI during
upgrade downgrade.

Change-Id: Id452d225098fe3bccdcd37d242985c5c761144c1
/frameworks/base/telecomm/java/android/telecom/InCallService.java
6c912b7d056c67b41fd46f31de168795e97c2336 08-Nov-2014 Santos Cordon <santoscordon@google.com> Make add-call a global property of telecom. (1/4)

ADD_CALL didn't make sense as a property of Connection or Call.
This changes it to be a global property instead.

Bug: 18285352
Change-Id: I658e7a6977a848600272cde2914612c8691bb801
/frameworks/base/telecomm/java/android/telecom/InCallService.java
5e6162de625dfda047ff390bbc1ccf9a97db2261 23-Sep-2014 Jay Shrauner <shrauner@google.com> Fix NPE crash when mPhone is null

Bug:17609710
Change-Id: Idb99feb6f15fd29809adde51cda1eb0d44e20101
/frameworks/base/telecomm/java/android/telecom/InCallService.java
ef9f6f957d897ea0ed82114185b8fa3fefd4917b 13-Sep-2014 Tyler Gunn <tgunn@google.com> Renaming Telecomm to Telecom.

- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: I192cb5d189f55db012ea72ee82ccc5aedbc21638
/frameworks/base/telecomm/java/android/telecom/InCallService.java