diff --git a/core/api/current.txt b/core/api/current.txt index 589b055692bc1..211f60350cfac 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -40645,6 +40645,7 @@ package android.service.credentials { public class CredentialEntry implements android.os.Parcelable { ctor public CredentialEntry(@NonNull String, @NonNull String, @NonNull android.app.slice.Slice); ctor public CredentialEntry(@NonNull android.service.credentials.BeginGetCredentialOption, @NonNull android.app.slice.Slice); + ctor public CredentialEntry(@NonNull String, @NonNull android.app.slice.Slice); method public int describeContents(); method @NonNull public String getBeginGetCredentialOptionId(); method @NonNull public android.app.slice.Slice getSlice(); diff --git a/core/java/android/service/credentials/CredentialEntry.java b/core/java/android/service/credentials/CredentialEntry.java index 85eac6edb6d27..e9cebd2e6af7e 100644 --- a/core/java/android/service/credentials/CredentialEntry.java +++ b/core/java/android/service/credentials/CredentialEntry.java @@ -131,9 +131,7 @@ public class CredentialEntry implements Parcelable { * @param slice the slice containing the metadata to be shown on the UI. Must be * constructed through the androidx.credentials jetpack library. * - * @hide */ - // TODO: Unhide this constructor when the registry APIs are stable public CredentialEntry(@NonNull String type, @NonNull Slice slice) { mBeginGetCredentialOptionId = null; mType = requireNonNull(type, "type must not be null");