Add new setting key for credential manager default provider

Test: built locally
Bug: 280492574
Change-Id: I312fe2c5eda38b3b669799165ed64f41a5394747
This commit is contained in:
Jerry Shi
2023-04-30 16:27:41 -07:00
committed by Guangjie (Jerry) Shi
parent db1fc4557c
commit c41153427c
2 changed files with 9 additions and 1 deletions

View File

@@ -7174,6 +7174,13 @@ public final class Settings {
*/
public static final String CREDENTIAL_SERVICE = "credential_service";
/**
* The currently selected primary credential service flattened ComponentName.
*
* @hide
*/
public static final String CREDENTIAL_SERVICE_PRIMARY = "credential_service_primary";
/**
* The currently selected autofill service flattened ComponentName.
* @hide

View File

@@ -841,7 +841,8 @@ public class SettingsBackupTest {
Settings.Secure.ACCESSIBILITY_SHOW_WINDOW_MAGNIFICATION_PROMPT,
Settings.Secure.ACCESSIBILITY_FLOATING_MENU_MIGRATION_TOOLTIP_PROMPT,
Settings.Secure.UI_TRANSLATION_ENABLED,
Settings.Secure.CREDENTIAL_SERVICE);
Settings.Secure.CREDENTIAL_SERVICE,
Settings.Secure.CREDENTIAL_SERVICE_PRIMARY);
@Test
public void systemSettingsBackedUpOrDenied() {