Merge "Unhide CredentialEntry constructor." into udc-dev am: e13229fa85
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21804479 Change-Id: I6c8921722b278e68ce736ec6ac4be5d9cd47c472 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user