Expose various Telecom constants

Expose constants in Telecom that are being used in Telephony.
Note -- nothing is exposed here -- it's a modified cherry pick from
internal where all the APIs have been rehidden.

Bug: 146834818
Test: NA
Change-Id: Ib5cf76183edced3eeffbca87a7c980a85288f937
Merged-In: Ib5cf76183edced3eeffbca87a7c980a85288f937
This commit is contained in:
Hall Liu
2020-01-22 17:17:13 -08:00
parent 074af36692
commit e576fc4861
3 changed files with 50 additions and 37 deletions

View File

@@ -82,8 +82,10 @@ public final class PhoneAccount implements Parcelable {
public static final String EXTRA_CALL_SUBJECT_CHARACTER_ENCODING =
"android.telecom.extra.CALL_SUBJECT_CHARACTER_ENCODING";
/**
* Indicating flag for phone account whether to use voip audio mode for voip calls
/**
* Boolean {@link PhoneAccount} extras key (see {@link PhoneAccount#getExtras()}) which
* indicates that all calls from this {@link PhoneAccount} should be treated as VoIP calls
* rather than cellular calls.
* @hide
*/
public static final String EXTRA_ALWAYS_USE_VOIP_AUDIO_MODE =