OSDN Git Service

Add support for dropping fg video call on answer of audio call.
authorTyler Gunn <tgunn@google.com>
Wed, 22 Jun 2016 17:35:13 +0000 (10:35 -0700)
committerTyler Gunn <tgunn@google.com>
Thu, 23 Jun 2016 19:48:43 +0000 (12:48 -0700)
commit4b6614e5762852e4495a991b5fc833a342f2cb36
tree6c6c02d685d64c63d3a3d1dbeba57abfc1387477
parent05943a3247375e932b9e3156f4dcb753626db6c7
Add support for dropping fg video call on answer of audio call.

Adding two new carrier config options:
1. treat_downgraded_video_calls_as_video_calls_bool - when there is an ongoing
call which was previously a video call (or is currently video call), some
carriers require that this is treated as if it is a video call for
telephony logic such as in (2).
2. drop_video_call_when_answering_audio_call_bool - if the user is in an
active video call (see (1)) over wifi, and an incoming audio call comes in,
when this carrier config option is "TRUE", the video call will be dropped
when the audio call is answered.

Adding new connection extra to indicate to the dialer app that answering
a ringing call will cause the current active video call to drop.

Bug: 29275420
Change-Id: Ied5dbabc8ff09045ba41c5eba2136adad10db80e
api/current.txt
api/system-current.txt
api/test-current.txt
telecomm/java/android/telecom/Connection.java
telephony/java/android/telephony/CarrierConfigManager.java
telephony/java/com/android/ims/ImsCallProfile.java