From abd7c91d931b0caffc1080ad4b5cd8a9ce733854 Mon Sep 17 00:00:00 2001 From: Reema Bajwa Date: Thu, 9 Feb 2023 02:46:08 +0000 Subject: [PATCH] unhide getId from BeginGetCredentialOption for jetpack jetpack library needs to access the Id so it can popoulate those on the structured begin request options. Test: built locally API-Coverage-Bug: 247549381 Change-Id: Iba40998751fdaa3e304f1350984cc2ba961d165f --- core/api/current.txt | 1 + .../android/service/credentials/BeginGetCredentialOption.java | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/core/api/current.txt b/core/api/current.txt index 75f57271dacc9..422dbb69cb1e3 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -40265,6 +40265,7 @@ package android.service.credentials { ctor public BeginGetCredentialOption(@NonNull String, @NonNull String, @NonNull android.os.Bundle); method public int describeContents(); method @NonNull public android.os.Bundle getCandidateQueryData(); + method @NonNull public String getId(); method @NonNull public String getType(); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; diff --git a/core/java/android/service/credentials/BeginGetCredentialOption.java b/core/java/android/service/credentials/BeginGetCredentialOption.java index 3d39f6500fcb6..c654072d74465 100644 --- a/core/java/android/service/credentials/BeginGetCredentialOption.java +++ b/core/java/android/service/credentials/BeginGetCredentialOption.java @@ -63,8 +63,6 @@ public class BeginGetCredentialOption implements Parcelable { * Returns the unique id associated with this request. Providers must pass this id * to the constructor of {@link CredentialEntry} while creating a candidate credential * entry for this request option. - * - * @hide */ @NonNull public String getId() {