History log of /frameworks/base/telecomm/java/android/telecom/Call.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a65626031017517331fd402541b5e8f072c46a34 20-Aug-2015 Tyler Gunn <tgunn@google.com> am 1e9bfc64: Fix incorrect android.telecom.Call.Details equality check.

* commit '1e9bfc6461d3fe5455c9d7a21414ec66695b5798':
Fix incorrect android.telecom.Call.Details equality check.
1e9bfc6461d3fe5455c9d7a21414ec66695b5798 19-Aug-2015 Tyler Gunn <tgunn@google.com> Fix incorrect android.telecom.Call.Details equality check.

The the android.telecom.Call.Details class provides its own equals
implementation. Recently added in M is to also check if the mExtras
and mIntentExtras are different. Unfortunately, Bundles do not implement
equals. As a result when Telecom calls are parceled and sent to the
InCallServices, this means that the internalUpdate method will always
assume that the Details of a call have changed, even if they have not.
This was causing a LOT of extra calls to onUpdate in the InCall UI (2x the
amount). Although there is still room for improvement in the number of
callbacks from Telecom, this fix prevents a pretty significant regression
on that front.

Bug: 23218195
Change-Id: I128e996faf60376ed3df1dc848a97c4a7b0482ee
/frameworks/base/telecomm/java/android/telecom/Call.java
f08a7ada3aaeb2cb167609f50fa77217e12243f7 09-Jul-2015 Roshan Pius <rpius@google.com> am 8f596907: Merge "Change sequence of call removal from Phone\'s db." into mnc-dev

* commit '8f596907a5241badad821a6d3490eb2cd7dd23c5':
Change sequence of call removal from Phone's db.
1ca6207a1ec5bf9c12027c4f09a4fe18bd3f825c 08-Jul-2015 Roshan Pius <rpius@google.com> Change sequence of call removal from Phone's db.

Since the Call API's callbacks are now fired from handlers, they end up
changing the order in which the callbacks from the Phone and Call API's
are fired. To preserve the below ordering, we move the call removal from
Phone's db to after all the onCallDestoryedcallbacks have executed.
1. Call->onStateChanged
2. Call->onDetailsChanged
3. Call->onCallDestroyed
4. Phone->onCallRemoved

BUG: 22127504
Change-Id: Ice17f727decb516baabbe69adae598ebdf370094
/frameworks/base/telecomm/java/android/telecom/Call.java
ddf570e8226bd21448b44b3327d4bcb2608f4d00 31-May-2015 Shriram Ganesh <sganesh@codeaurora.org> MWI,phantom call,Suppl services, error codes

1. IMS MWI Feature
- Add new API to update waiting
voice message count, for UI
propagation based on RFC 3842

2. phantom call support

Supplementary services

3. IMS : Incoming Call Barring
- Modified existing API to support
request like registration,activation,
deactivation,erasure,interogation.

4.Unsol supplementary service notification
- send unsol supplementary notification to UI
- add call history info

Miscellaneous
5. Ims: Originate conference call in DIALING state

6. IMS: Addition of Extras to ImsCallProfile
- Add EXTRA string definitions to ImsCallProfile

7. IMS: Definition of error code
- answered elsewhere
- FDN call failure

8.
- Propagate IMS supplementary services to telephony framework
- Introduce call forwarding history info.

Bug: 21725750
Squash of 2 earlier CLs:
Change-Id: I52a64e9a5df3479189f62921a01655a50fb386fc
Change-Id: Idc3a433785e84a3d683cbcfc7fb90f0b89dced12

Change-Id: I428ce3c6a043e43b86dea41622e0a828d8b45e53
/frameworks/base/telecomm/java/android/telecom/Call.java
be2a4a248c4190fa840a0f20858e4523e3cdde87 12-Jun-2015 Yorke Lee <yorkelee@google.com> Fix typo in Call.Details.propertiesToString

Change-Id: I7bb52138912fddef20862f5f7a29a8ec2e0a1d66
/frameworks/base/telecomm/java/android/telecom/Call.java
6b7f955c2d9b231660b8c54f8ef8e8e6ad802625 28-May-2015 Santos Cordon <santoscordon@google.com> Add extras to Connections/Calls. (1/3)

Two major changes:
1) Add the notion of extras to a Connection. These extras will be
parceled through to InCallService as Call.getExtras()
2) The previously existing Call.getExtras() has been renamed to
getIntentExtras(). This name better describes the fact that these
particular extras are from the original CALL or INCOMING_CALL intents.

Change-Id: I08c1baf4f08d54757f98012f0c08b423a707c53d
/frameworks/base/telecomm/java/android/telecom/Call.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/Call.java
4538216a31d15b01e18c7b504e51031da0ce6e40 06-May-2015 Tyler Gunn <tgunn@google.com> Change sendSessionModifyRequest VideoProvider API signature.

Including a fromProfile in addition to the requestedProfile.

- Changed VideoCallImpl to generate the fromVideoProfile based on the
call's current videoState. This ensures the InCall UI only needs to
pass in the new video profile; the VideoCall Impl already has enough
knowledge to generate the fromProfile.
- Changed VideoCallImpl to track the current videoQuality, which forms
a part of the fromVideoProfile.

Bug: 20704229
Change-Id: I89f293f03a2b13fc8c1dcfd8a07ab8640d3950e0
/frameworks/base/telecomm/java/android/telecom/Call.java
2378ea76d4c4b160c2f0f6ffcd556776b7112d8d 29-Apr-2015 Andrew Lee <anwlee@google.com> Add Properties to Call.Details.

Moved some capabilities to properties which seemed appropriate.

Bug: 20160395
Change-Id: Iacef4365822e5c3e50f0c41a501bf295c22055f1
/frameworks/base/telecomm/java/android/telecom/Call.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/Call.java
d7b4b81274e8a0f885be553ea8e153ea5447798d 24-Apr-2015 Etan Cohen <etancohen@google.com> Merge commit '7595842' into merge2

Change-Id: I7e11e98e6d59562374195a8761d64a79dc0268e8
e3c507b79b5ce94f54533a92d5625daa486b7ed6 23-Apr-2015 Santos Cordon <santoscordon@google.com> Remove CallState and rename PRE_DIAL_WAIT

Bug: 20532827
Bug: 20532435
Change-Id: I5f0308c5cf4e4a9cf9020b4fe7fa5f3f8dee6e67
/frameworks/base/telecomm/java/android/telecom/Call.java
e661d9fb6fb4bd0896d2b911178b7d5f76d941ec 21-Apr-2015 Yorke Lee <yorkelee@google.com> Make CAPABILITY_CAN_PAUSE_VIDEO public

Change-Id: If20f642a3d6bda886a68bb1e0ce459c38361a73c
/frameworks/base/telecomm/java/android/telecom/Call.java
d01242946eb7423612998b5bdbc71a6a1b3e8581 17-Apr-2015 Jay Shrauner <shrauner@google.com> Merge "Remove connection substate"
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/Call.java
8f988439247f90633af5fbcc6b18214f3b6f6d31 16-Apr-2015 Jay Shrauner <shrauner@google.com> Remove connection substate

Bug:20300433
Change-Id: Ifefc08b5165de3e0b6ce92007e5f612879dcc4d9
/frameworks/base/telecomm/java/android/telecom/Call.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/Call.java
cb43ebb3604d45da8677b8d19c935f0ace08ea53 16-Apr-2015 Vinit Deshpande <vinitd@google.com> Merge "am b5e0cfb..557d2f5 from mirror-m-wireless-internal-release"
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/Call.java
e268f4c28ece283c8c9707b21c0ef7f940b907a8 15-Apr-2015 Andrew Lee <anwlee@google.com> DO NOT MERGE Suffix VT_LOCAL/REMOTE with BIDIRECTIONAL.

Bug: 20160395
Change-Id: Ib343fde5088f3a5823c73de6ab77564b4be0d12c
/frameworks/base/telecomm/java/android/telecom/Call.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/Call.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/Call.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/Call.java
80047faad914c9b9b4966d6b58fc22800c3fcebc 15-Apr-2015 Vinit Deshpande <vinitd@google.com> am b5e0cfb..557d2f5 from mirror-m-wireless-internal-release

557d2f5 Merge "Add ConnectivityManager.reportNetworkConnectivity() API" into m-wireless-dev
ab5267a Fix onLost/onFound logic in isSettingsAndFilterComboAllowed
bfd17b7 Add ConnectivityManager.reportNetworkConnectivity() API
238e0f9 OBEX Over L2CAP + SDP search API for BT profiles
31a94f4 Add ConnectivityManager.getActiveNetwork(). Rework NetID allocation in ConnectivityService so registerNetworkAgent() can return the allocated NetID.
bf18bed Merge "Non-functional code cleanup of ConnectivityService." into m-wireless-dev
db8784e Merge "Cleanup of Video Call pause functionality." into m-wireless-dev
e75b9e3 Non-functional code cleanup of ConnectivityService.
e593d0a Onfound onlost feature.
0326f58 Merge "API for config app." into m-wireless-dev
e9b056f API for config app.
d5351e7 RTT framework interface update
582b868 Unhide Network.openConnection(URL, Proxy).
0d719ca Fix typos in ConnectivityManager documentation.

Change-Id: Ib4c88f6d7ad1b24227b032555c62a5804194384b
d4ea01b4aca807cc914a96addefcc2c64ce1a6f5 12-Apr-2015 Prerepa Viswanadham <dham@google.com> Merge "Merge commit 'e593d0a' into merge_work"
9a8f9ce7adeb5fd93c11afffcc580d2af5c1225d 11-Apr-2015 Andrew Lee <anwlee@google.com> Suffix VT_LOCAL and VT_REMOTE with BIDIRECTIONAL.

Bug: 20160395
Change-Id: Ieb35f7b8a91022bae899b3fc093065c36d2d68c8
/frameworks/base/telecomm/java/android/telecom/Call.java
57bf2a8a38e929f00f3323cf97a8ea7a9af900ce 11-Apr-2015 Prerepa Viswanadham <dham@google.com> Merge commit 'e593d0a' into merge_work

Change-Id: I4f8ae40fc446cd9cda4d5c6ec99469a98dda595b
b5e0cfb24efded1e200989b5b48d49ac144c7704 08-Apr-2015 Tyler Gunn <tgunn@google.com> Cleanup of Video Call pause functionality.

Whether the paused videoState is available is dependent on the carrier's
implementation of the VT spec. The original VT implementation assumed
that this was stored in a system property accessed via InCall; these CLs
move this to a Call/Connection capability which will ultimately support
multisim video capable devices.

- Added new connection/call capabilities.

Bug: 16680364
Bug: 19820114
Change-Id: I3840f92270100811161120dffcfe297bef7c4ea2
/frameworks/base/telecomm/java/android/telecom/Call.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/Call.java
4209a28270a70016ee5ee6cae3dc96d6df0ade26 24-Mar-2015 Prerepa Viswanadham <dham@google.com> Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into master_merge

Change-Id: I49aab437af220f1139cfd2d0a9c362acce31074e
d11a31561e88fbbb4f614caff8a05e7ff9ecd357 18-Mar-2015 Tyler Gunn <tgunn@google.com> resolve merge conflicts of bcb17eb to m-wireless-dev.

Change-Id: Ic8211fb14caec993c8e38c790006577493f7a607
96d6c40c7159a6e93c21a3b540e24a6ff916cb4b 18-Mar-2015 Tyler Gunn <tgunn@google.com> resolved conflicts for merge of 00de38a1 to master

Change-Id: Ib1ac99ba7181ad79af94a04124380833bcb79a0c
bcb17eb7a9e0c33efeaae8a213f331d678e5a736 17-Mar-2015 Dong Zhou <a22255@motorola.com> am 89f41eb3: Define the capability to speed up MT call audio

* commit '89f41eb39e910e220957ac861651ead17eff9085':
Define the capability to speed up MT call audio
89f41eb39e910e220957ac861651ead17eff9085 15-Mar-2015 Dong Zhou <a22255@motorola.com> Define the capability to speed up MT call audio

Bug: 19656525
Change-Id: I0bc88e85b807871b2883a785efac91bd0e1f6d8d
/frameworks/base/telecomm/java/android/telecom/Call.java
068085b35d4c7ef368fde6f01b42f87766d4a2b4 06-Feb-2015 Tyler Gunn <tgunn@google.com> Fix emergency callback number not shown for incoming calls.

- Adding new Connection/Call capability: CAPABILITY_SHOW_CALLBACK_NUMBER.
- Used in Telephony to indicate on an incoming call that the callback
number should be shown.

Bug: 18689292
Change-Id: I1ab3baf9f0d5a22c4b01e6504e88d496182e01c7
/frameworks/base/telecomm/java/android/telecom/Call.java
5e9e8bb30e4d26eba46684c03ca950b602dfb830 10-Mar-2015 Andrew Lee <anwlee@google.com> Indicate local and remote RX/TX capabilities for VT.

This provides more granular API support for representing the mix of
state and capabilities of local and remote video clients. For our
implementation, we are primarily concerned with bidirectional video
calling. But, this provides support for representing certain error
scenarios, and flexibility for other parties which may desire to
implement one-way video calling.

Change-Id: I0373ffd377c3547fa8dd98ab5fde4f8d616a1d2f
/frameworks/base/telecomm/java/android/telecom/Call.java
1a8ae3e7306b5094f36252e3315fddeaf8b952bc 02-Feb-2015 Andrew Lee <anwlee@google.com> Rename from VoWIFI to WIFI.

Make capability labeling for calls over Wifi more generic.

Bug: 19151548
Change-Id: I8b4adb0fb6f1e09f7c16d2d0f48bc7fe849a289e
/frameworks/base/telecomm/java/android/telecom/Call.java
80fff3c0a5f68d4b426a35468daeaf4ff4d3d375 26-Nov-2014 Andrew Lee <anwlee@google.com> Rename VoLTE capability to HD audio.

This is a more specific and less technology-specific title for
communicating this to Dialer/InCall.

Bug: 18103173
Change-Id: I70ad50bb09eb807a621259976bb9fb7953a9a8aa
/frameworks/base/telecomm/java/android/telecom/Call.java
5c9c86ec0f95d1f5e1aca212967f508fc736b895 12-Nov-2014 Ihab Awad <ihab@google.com> Telecom API updates (1/6)

Bug: 18292176

Change-Id: I060366234a5a60510c385dc837f2b7e79596eaf5
/frameworks/base/telecomm/java/android/telecom/Call.java
36c62f3e3cc155e950de8b1a1f1109d38fb32d61 22-Oct-2014 Nancy Chen <nancychen@google.com> Add an option to set the selected phone account as the default. (1/3)

Modify the phoneAccountSelected method to support the option to set the
selected phone account as the default for outgoing phone calls.

Bug: 18078232
Change-Id: I2689bc9611366d521dfd3dc2086fd31eb6393876
/frameworks/base/telecomm/java/android/telecom/Call.java
4afc6afd20488bf5afb462a718091a755de3adf4 07-Oct-2014 Tyler Gunn <tgunn@google.com> Fixing where call goes from disconnecting to active to disconnecting state.

- Adding disconnecting state to telecom used to communicate that a call is
being disconnected to InCall UI (rather than it existing only as a state
in the InCall UI).

Bug: 17821930
Change-Id: I6c2d9521915ba154c0468eea62c12c30060edd2e
/frameworks/base/telecomm/java/android/telecom/Call.java
f4cf77c5dc0348d3f7561f48a5a751cb823cd271 19-Sep-2014 Nancy Chen <nancychen@google.com> Add constructor for DisconnectCause that does not require a tone.

In order to create a DisconnectCause with a label/description that does
not require specifying a tone.

Bug: 17486242
Change-Id: If82605ff20fc9f53ed41b49e12575424c6efc2b6
/frameworks/base/telecomm/java/android/telecom/Call.java
513c8921359c2b576e0713da6d649e5e7c29d179 17-Sep-2014 Nancy Chen <nancychen@google.com> Replace get*PhoneAccounts* public API methods with new method (1/3)

Hide getCallCapablePhoneAccounts and getPhoneAccountsSupportingScheme
because a third party app should not be able to see all phone accounts
registered. Replace instead with getPhoneAccountsForPackage(Context)
which will only return the phone accounts registered by a particular package.

Bug: 17510811
Change-Id: I8465ef4f13b62fe83f51835cfffe1656298041a8
/frameworks/base/telecomm/java/android/telecom/Call.java
7f3d41fd124dd7c4a8b72c1d48df08a8ee7209ec 12-Sep-2014 Andrew Lee <anwlee@google.com> Add new DisconnectCause class to telecomm.

+ Add a hidden "UNKNOWN" default type to ToneGenerator.
- Hide the Telephony DisconnectCause from the public API.
+ Add a Telecomm DisconnectCause. This is parcelable, and contains
information (code, user facing message, non-user facing reason,
and tone) to help describe the disconnect state and what behaviors
an application can implement for the user experience. This reduces
the causes for a disconnect to a more generic set.
+ Lots of work to pipe this through. DisconnectCause replaces the
code and message which were formerly passed around.

Bug: 17241433
Bug: 17329632
Change-Id: I9d337e478a8784bcc0ade02267c2df52cac9bf17
/frameworks/base/telecomm/java/android/telecom/Call.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/Call.java