Put credman registry-based sessions into PENDING state to start
This makes them act more like remote providers and allows existing checks regarding when to show the UI work as expected. Bug: 288913298 Test: manually Change-Id: Ia12cef3031c41206ab74616154c75fd415b31a0e
This commit is contained in:
@@ -126,6 +126,7 @@ public class ProviderRegistryGetSession extends ProviderSession<CredentialOption
|
||||
mElementKeys = new HashSet<>(requestOption
|
||||
.getCredentialRetrievalData()
|
||||
.getStringArrayList(CredentialOption.SUPPORTED_ELEMENT_KEYS));
|
||||
mStatus = Status.PENDING;
|
||||
}
|
||||
|
||||
protected ProviderRegistryGetSession(@NonNull Context context,
|
||||
@@ -143,6 +144,7 @@ public class ProviderRegistryGetSession extends ProviderSession<CredentialOption
|
||||
mElementKeys = new HashSet<>(requestOption
|
||||
.getCredentialRetrievalData()
|
||||
.getStringArrayList(CredentialOption.SUPPORTED_ELEMENT_KEYS));
|
||||
mStatus = Status.PENDING;
|
||||
}
|
||||
|
||||
private List<Entry> prepareUiCredentialEntries(
|
||||
|
||||
Reference in New Issue
Block a user