Add new setting key for credential manager

Test: built locally
Bug: 250713478

Change-Id: Icdaf9135f274b0b5dce24b5ec7a25aa09ba8c7ae
This commit is contained in:
Reema Bajwa
2022-10-11 03:04:22 +00:00
parent 12639c966f
commit a8611b6af2
2 changed files with 10 additions and 1 deletions

View File

@@ -6875,6 +6875,14 @@ public final class Settings {
@Readable
public static final String VOICE_INTERACTION_SERVICE = "voice_interaction_service";
/**
* The currently selected credential service(s) flattened ComponentName.
*
* @hide
*/
public static final String CREDENTIAL_SERVICE = "credential_service";
/**
* The currently selected autofill service flattened ComponentName.
* @hide

View File

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