Loading core/java/android/service/credentials/Action.java +8 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,14 @@ public final class Action implements Parcelable { * <p> See details on usage of {@code Action} for various actionable entries in * {@link BeginCreateCredentialResponse} and {@link BeginGetCredentialResponse}. * * @param slice the display content to be displayed on the UI, along with this action * @param slice the slice containing the metadata to be shown on the UI, must be constructed * through the {@link androidx.credentials.provider} Jetpack library; * If constructed manually, the {@code slice} object must * contain the non-null properties of the * {@link androidx.credentials.provider.Action} class populated as slice items * against specific hints as used in the class's {@code toSlice} method, * since the Android System uses this library to parse the {@code slice} and * extract the required attributes */ public Action(@NonNull Slice slice) { Objects.requireNonNull(slice, "slice must not be null"); Loading core/java/android/service/credentials/CreateEntry.java +8 −1 Original line number Diff line number Diff line Loading @@ -66,7 +66,14 @@ public final class CreateEntry implements Parcelable { /** * Constructs a CreateEntry to be displayed on the UI. * * @param slice the display content to be displayed on the UI, along with this entry * @param slice the slice containing the metadata to be shown on the UI, must be constructed * through the {@link androidx.credentials.provider} Jetpack library; * If constructed manually, the {@code slice} object must * contain the non-null properties of the * {@link androidx.credentials.provider.CreateEntry} class populated as slice items * against specific hints as used in the class's {@code toSlice} method, * since the Android System uses this library to parse the {@code slice} and * extract the required attributes */ public CreateEntry( @NonNull Slice slice) { Loading core/java/android/service/credentials/CredentialEntry.java +8 −2 Original line number Diff line number Diff line Loading @@ -69,8 +69,14 @@ public final class CredentialEntry implements Parcelable { * receive the complete corresponding * {@link GetCredentialRequest}. * @param type the type of the credential for which this credential entry is being created * @param slice the slice containing the metadata to be shown on the UI. Must be * constructed through the androidx.credentials jetpack library. * @param slice the slice containing the metadata to be shown on the UI, must be constructed * through the {@link androidx.credentials.provider} Jetpack library; * If constructed manually, the {@code slice} object must * contain the non-null properties of the * {@link androidx.credentials.provider.CredentialEntry} class populated as slice * items against specific hints as used in the class's {@code toSlice} method, * since the Android System uses this library to parse the {@code slice} and * extract the required attributes * * @throws IllegalArgumentException If {@code beginGetCredentialOptionId} or {@code type} * is null, or empty Loading core/java/android/service/credentials/RemoteEntry.java +8 −1 Original line number Diff line number Diff line Loading @@ -73,7 +73,14 @@ public final class RemoteEntry implements Parcelable { /** * Constructs a RemoteEntry to be displayed on the UI. * * @param slice the display content to be displayed on the UI, along with this entry * @param slice the slice containing the metadata to be shown on the UI, must be constructed * through the {@link androidx.credentials.provider} Jetpack library; * If constructed manually, the {@code slice} object must * contain the non-null properties of the * {@link androidx.credentials.provider.RemoteEntry} class populated as slice items * against specific hints as used in the class's {@code toSlice} method, * since the Android System uses this library to parse the {@code slice} and * extract the required attributes */ public RemoteEntry( @NonNull Slice slice) { Loading Loading
core/java/android/service/credentials/Action.java +8 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,14 @@ public final class Action implements Parcelable { * <p> See details on usage of {@code Action} for various actionable entries in * {@link BeginCreateCredentialResponse} and {@link BeginGetCredentialResponse}. * * @param slice the display content to be displayed on the UI, along with this action * @param slice the slice containing the metadata to be shown on the UI, must be constructed * through the {@link androidx.credentials.provider} Jetpack library; * If constructed manually, the {@code slice} object must * contain the non-null properties of the * {@link androidx.credentials.provider.Action} class populated as slice items * against specific hints as used in the class's {@code toSlice} method, * since the Android System uses this library to parse the {@code slice} and * extract the required attributes */ public Action(@NonNull Slice slice) { Objects.requireNonNull(slice, "slice must not be null"); Loading
core/java/android/service/credentials/CreateEntry.java +8 −1 Original line number Diff line number Diff line Loading @@ -66,7 +66,14 @@ public final class CreateEntry implements Parcelable { /** * Constructs a CreateEntry to be displayed on the UI. * * @param slice the display content to be displayed on the UI, along with this entry * @param slice the slice containing the metadata to be shown on the UI, must be constructed * through the {@link androidx.credentials.provider} Jetpack library; * If constructed manually, the {@code slice} object must * contain the non-null properties of the * {@link androidx.credentials.provider.CreateEntry} class populated as slice items * against specific hints as used in the class's {@code toSlice} method, * since the Android System uses this library to parse the {@code slice} and * extract the required attributes */ public CreateEntry( @NonNull Slice slice) { Loading
core/java/android/service/credentials/CredentialEntry.java +8 −2 Original line number Diff line number Diff line Loading @@ -69,8 +69,14 @@ public final class CredentialEntry implements Parcelable { * receive the complete corresponding * {@link GetCredentialRequest}. * @param type the type of the credential for which this credential entry is being created * @param slice the slice containing the metadata to be shown on the UI. Must be * constructed through the androidx.credentials jetpack library. * @param slice the slice containing the metadata to be shown on the UI, must be constructed * through the {@link androidx.credentials.provider} Jetpack library; * If constructed manually, the {@code slice} object must * contain the non-null properties of the * {@link androidx.credentials.provider.CredentialEntry} class populated as slice * items against specific hints as used in the class's {@code toSlice} method, * since the Android System uses this library to parse the {@code slice} and * extract the required attributes * * @throws IllegalArgumentException If {@code beginGetCredentialOptionId} or {@code type} * is null, or empty Loading
core/java/android/service/credentials/RemoteEntry.java +8 −1 Original line number Diff line number Diff line Loading @@ -73,7 +73,14 @@ public final class RemoteEntry implements Parcelable { /** * Constructs a RemoteEntry to be displayed on the UI. * * @param slice the display content to be displayed on the UI, along with this entry * @param slice the slice containing the metadata to be shown on the UI, must be constructed * through the {@link androidx.credentials.provider} Jetpack library; * If constructed manually, the {@code slice} object must * contain the non-null properties of the * {@link androidx.credentials.provider.RemoteEntry} class populated as slice items * against specific hints as used in the class's {@code toSlice} method, * since the Android System uses this library to parse the {@code slice} and * extract the required attributes */ public RemoteEntry( @NonNull Slice slice) { Loading