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

Commit e138f4aa authored by Becca Hughes's avatar Becca Hughes
Browse files

Add settings intent dialog (framework)

Add a dialog that can be launched via
an intent to prompt the user to enable
the provider for credman.

Test: make & atest & manual
Bug: 267816998
Change-Id: I5a07070a7e9e4110240186c05ae0ef74f7abdbd2
parent 777d6de5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -37071,6 +37071,7 @@ package android.provider {
    field public static final String ACTION_CAST_SETTINGS = "android.settings.CAST_SETTINGS";
    field public static final String ACTION_CHANNEL_NOTIFICATION_SETTINGS = "android.settings.CHANNEL_NOTIFICATION_SETTINGS";
    field public static final String ACTION_CONDITION_PROVIDER_SETTINGS = "android.settings.ACTION_CONDITION_PROVIDER_SETTINGS";
    field public static final String ACTION_CREDENTIAL_PROVIDER = "android.settings.CREDENTIAL_PROVIDER";
    field public static final String ACTION_DATA_ROAMING_SETTINGS = "android.settings.DATA_ROAMING_SETTINGS";
    field public static final String ACTION_DATA_USAGE_SETTINGS = "android.settings.DATA_USAGE_SETTINGS";
    field public static final String ACTION_DATE_SETTINGS = "android.settings.DATE_SETTINGS";
+18 −0
Original line number Diff line number Diff line
@@ -2427,6 +2427,24 @@ public final class Settings {
    public static final String ACTION_REQUEST_SET_AUTOFILL_SERVICE =
            "android.settings.REQUEST_SET_AUTOFILL_SERVICE";
    /**
     * Activity Action: Show screen that let user enable a Credential Manager provider.
     * <p>
     * Input: Intent's data URI set with an application name, using the
     * "package" schema (like "package:com.my.app").
     *
     * <p>
     * Output: {@link android.app.Activity#RESULT_OK} if user selected a provider belonging
     * to the caller package.
     * <p>
     * <b>NOTE: </b> Applications should call
     * {@link android.credentials.CredentialManager#isEnabledCredentialProviderService()}
     * and only use this action to start an activity if they return {@code false}.
     */
    @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
    public static final String ACTION_CREDENTIAL_PROVIDER =
            "android.settings.CREDENTIAL_PROVIDER";
    /**
     * Activity Action: Show screen for controlling the Quick Access Wallet.
     * <p>