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

Commit 079b379d authored by Brad Ebinger's avatar Brad Ebinger Committed by android-build-merger
Browse files

Merge "Merge "Modify docs to reflect operational changes in overrideConfig"...

Merge "Merge "Modify docs to reflect operational changes in overrideConfig" am: 2d5af940 am: 032fb54f" into qt-dev-plus-aosp
am: e3ddaa4d

Change-Id: I4beca87e1ea84f45787108d4558d4f76d52afa45
parents 27ea0a90 e3ddaa4d
Loading
Loading
Loading
Loading
+10 −6
Original line number Diff line number Diff line
@@ -3279,17 +3279,21 @@ public class CarrierConfigManager {
    /**
     * Overrides the carrier config of the provided subscription ID with the provided values.
     *
     * Any further queries to carrier config from any process will return
     * the overriden values after this method returns. The overrides are effective for the lifetime
     * of the phone process.
     * Any further queries to carrier config from any process will return the overridden values
     * after this method returns. The overrides are effective for the lifetime of the phone process
     * until the user passes in {@code null} for {@code overrideValues}. This removes all previous
     * overrides and sets the carrier config back to production values.
     *
     * May throw an {@link IllegalArgumentException} if {@code overrideValues} contains invalid
     * values for the specified config keys.
     *
     * NOTE: This API is meant for testing purposes only and may only be accessed from the shell UID
     * during instrumentation testing.
     *
     * @param subscriptionId The subscription ID for which the override should be done.
     * @param overrideValues Key-value pairs of the values that are to be overriden. If null,
     *                       all previous overrides will be disabled and the config reset back to
     *                       its initial state.
     * @param overrideValues Key-value pairs of the values that are to be overridden. If set to
     *                       {@code null}, this will remove all previous overrides and set the
     *                       carrier configuration back to production values.
     * @hide
     */
    @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)