From 71a76d730867283f04dc9a49f647368fd6c62c51 Mon Sep 17 00:00:00 2001 From: Helen Qin Date: Thu, 10 Aug 2023 18:15:50 +0000 Subject: [PATCH] Document on the framework CreateCredentialRequest minimum bundle requirement Bug: 281406225 Test: N/A - javadoc change only Change-Id: I75f0500f52b99a1ccc63824db076666394919ba6 --- core/java/android/credentials/CreateCredentialRequest.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/java/android/credentials/CreateCredentialRequest.java b/core/java/android/credentials/CreateCredentialRequest.java index fc3dc796d3edd..946b5f329c0b7 100644 --- a/core/java/android/credentials/CreateCredentialRequest.java +++ b/core/java/android/credentials/CreateCredentialRequest.java @@ -261,7 +261,10 @@ public final class CreateCredentialRequest implements Parcelable { /** * @param type the type of the credential to be stored - * @param credentialData the full credential creation request data + * @param credentialData the full credential creation request data, which must at minimum + * contain the required fields observed at the + * {@link androidx.credentials.CreateCredentialRequest} Bundle conversion static methods, + * because they are required for properly displaying the system credential selector UI * @param candidateQueryData the partial request data that will be sent to the provider * during the initial creation candidate query stage */