DO NOT MERGE Live update cred man settings

This CL will enable live update of credential
providers if any are added/removed.

Test: atest
Bug: 264420106
Change-Id: I14804bac17a4efe5eccd3c5824558eace18da186
This commit is contained in:
Becca Hughes
2023-04-18 17:43:16 +00:00
parent c205fe957a
commit d8b74b5c39
2 changed files with 38 additions and 11 deletions

View File

@@ -484,7 +484,7 @@ public class CredentialManagerPreferenceControllerTest {
CredentialManagerPreferenceController controller =
new CredentialManagerPreferenceController(
mContext, mCredentialsPreferenceCategory.getKey());
controller.setAvailableServices(() -> mock(Lifecycle.class), availableServices, addServiceOverride);
controller.setAvailableServices(availableServices, addServiceOverride);
controller.setDelegate(mDelegate);
return controller;
}