diff options
| author | 2023-04-06 16:38:30 +0000 | |
|---|---|---|
| committer | 2023-04-06 19:42:17 +0000 | |
| commit | 9a0c76514ebddcd64f3b0412e67d133a75d41cd3 (patch) | |
| tree | 6cd69f6c18d8fb3cc163db600838c4a1c26097d6 | |
| parent | d5494efd55d034b6f862df96f584e4e7becb6499 (diff) | |
Hide CredentialOption constructor
Test: built & deplpoyed locally
Bug: 277213208
Change-Id: I75ab03c39ecc9a4fa7f0dd35fc9ec58f4a1f9433
| -rw-r--r-- | core/api/current.txt | 1 | ||||
| -rw-r--r-- | core/java/android/credentials/CredentialOption.java | 6 |
2 files changed, 2 insertions, 5 deletions
diff --git a/core/api/current.txt b/core/api/current.txt index 80abd84733d7..e10fbf20b772 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -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(); diff --git a/core/java/android/credentials/CredentialOption.java b/core/java/android/credentials/CredentialOption.java index e933123d08b8..df948f17d6e0 100644 --- a/core/java/android/credentials/CredentialOption.java +++ b/core/java/android/credentials/CredentialOption.java @@ -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, |