Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2fa6a99e authored by Brad Ebinger's avatar Brad Ebinger
Browse files

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

Test: atest FrameworksTelephonyTests:ImsPhoneTest
Fixes: 150331517
Change-Id: I7c6f4c13e6267a3e643ebae77697ea18ee8cd242
parent 0a5a8fe7
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -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";