Rename disable add call extra

Used to be DISABLE_ADD_CALL_DURING_VIDEO_CALL, now just
DISABLE_ADD_CALL. The meaning has also changed -- having the extra set
means that adding calls should be disabled no matter what.

Bug: 29047863
Change-Id: Icd8966492b264a9c64dc4880080a706032f0759c
This commit is contained in:
Hall Liu
2016-07-06 16:32:43 -07:00
parent 7742a315fc
commit ee6e86b2bc
2 changed files with 6 additions and 4 deletions

View File

@@ -407,11 +407,11 @@ public abstract class Connection extends Conferenceable {
/**
* Boolean connection extra key on a {@link Connection} which indicates that adding an
* additional call is disallowed when there is a video call in progress.
* additional call is disallowed.
* @hide
*/
public static final String EXTRA_DISABLE_ADD_CALL_DURING_VIDEO_CALL =
"android.telecom.extra.DISABLE_ADD_CALL_DURING_VIDEO_CALL";
public static final String EXTRA_DISABLE_ADD_CALL =
"android.telecom.extra.DISABLE_ADD_CALL";
/**
* Connection event used to inform Telecom that it should play the on hold tone. This is used

View File

@@ -819,7 +819,9 @@ public class CarrierConfigManager {
"allow_merge_wifi_calls_when_vowifi_off_bool";
/**
* When true, indicates that adding a call is disabled when there is an ongoing video call.
* When true, indicates that adding a call is disabled when there is an ongoing video call
* or when there is an ongoing call on wifi which was downgraded from video and VoWifi is
* turned off.
*/
public static final String KEY_ALLOW_ADD_CALL_DURING_VIDEO_CALL_BOOL =
"allow_add_call_during_video_call";