Hide CredentialOption constructor

Test: built & deplpoyed locally
Bug: 277213208

Change-Id: I75ab03c39ecc9a4fa7f0dd35fc9ec58f4a1f9433
This commit is contained in:
Reema Bajwa
2023-04-06 16:38:30 +00:00
parent d5494efd55
commit 9a0c76514e
2 changed files with 2 additions and 5 deletions

View File

@@ -13662,7 +13662,6 @@ package android.credentials {
}
public final class CredentialOption implements android.os.Parcelable {
ctor @Deprecated public CredentialOption(@NonNull String, @NonNull android.os.Bundle, @NonNull android.os.Bundle, boolean);
method public int describeContents();
method @NonNull public java.util.Set<android.content.ComponentName> getAllowedProviders();
method @NonNull public android.os.Bundle getCandidateQueryData();

View File

@@ -37,8 +37,7 @@ import java.util.Set;
/**
* Information about a specific type of credential to be requested during a {@link
* CredentialManager#getCredential(GetCredentialRequest, Activity, CancellationSignal, Executor,
* OutcomeReceiver)} operation.
* CredentialManager#getCredential} operation.
*/
public final class CredentialOption implements Parcelable {
@@ -196,9 +195,8 @@ public final class CredentialOption implements Parcelable {
* @throws NullPointerException If {@code credentialRetrievalData}, or
* {@code candidateQueryData} is null.
*
* @deprecated replaced by Builder
* @hide
*/
@Deprecated
public CredentialOption(
@NonNull String type,
@NonNull Bundle credentialRetrievalData,