API Review: Define the extras as containing CharSequences, not Strings

Test: atest FrameworksTelephonyTests:ImsPhoneTest
Bug: 150331517
Fixes: 151172931
Merged-In: I7c6f4c13e6267a3e643ebae77697ea18ee8cd242
Change-Id: I7c6f4c13e6267a3e643ebae77697ea18ee8cd242
This commit is contained in:
Brad Ebinger
2020-03-05 17:25:24 -08:00
parent 54af9046ac
commit 36f34a1755

View File

@@ -74,17 +74,17 @@ public class ImsManager {
"android.telephony.ims.action.WFC_IMS_REGISTRATION_ERROR";
/**
* An extra key corresponding to a String value which contains the carrier specific title to be
* displayed as part of the message shown to the user when there is an error registering for
* WiFi calling.
* An extra key corresponding to a {@link CharSequence} value which contains the carrier
* specific title to be displayed as part of the message shown to the user when there is an
* error registering for WiFi calling.
*/
public static final String EXTRA_WFC_REGISTRATION_FAILURE_TITLE =
"android.telephony.ims.extra.WFC_REGISTRATION_FAILURE_TITLE";
/**
* An extra key corresponding to a String value which contains the carrier specific message to
* be displayed as part of the message shown to the user when there is an error registering for
* WiFi calling.
* An extra key corresponding to a {@link CharSequence} value which contains the carrier
* specific message to be displayed as part of the message shown to the user when there is an
* error registering for WiFi calling.
*/
public static final String EXTRA_WFC_REGISTRATION_FAILURE_MESSAGE =
"android.telephony.ims.extra.WFC_REGISTRATION_FAILURE_MESSAGE";