Renamed getter according to recent api review feedback.

GetCredentialOption has been renamed to CredentialOption to avoid
awkward getter naming.

Bug: 265809331
CTS-Coverage-Bug: 263109618
API-Coverage-Bug: 263109618
Test: CtsCredentialManagerTestCases
Change-Id: I907af11ee107bfbc36a7216de6143c7759977bf6
This commit is contained in:
Helen Qin
2023-02-02 19:43:16 +00:00
parent 968a80bc30
commit 3817374bcc
2 changed files with 2 additions and 2 deletions

View File

@@ -40298,7 +40298,7 @@ package android.service.credentials {
ctor public GetCredentialRequest(@NonNull android.service.credentials.CallingAppInfo, @NonNull android.credentials.CredentialOption);
method public int describeContents();
method @NonNull public android.service.credentials.CallingAppInfo getCallingAppInfo();
method @NonNull public android.credentials.CredentialOption getGetCredentialOption();
method @NonNull public android.credentials.CredentialOption getCredentialOption();
method public void writeToParcel(@NonNull android.os.Parcel, int);
field @NonNull public static final android.os.Parcelable.Creator<android.service.credentials.GetCredentialRequest> CREATOR;
}

View File

@@ -90,7 +90,7 @@ public final class GetCredentialRequest implements Parcelable {
* Returns the parameters needed to return a given type of credential.
*/
@NonNull
public CredentialOption getGetCredentialOption() {
public CredentialOption getCredentialOption() {
return mCredentialOption;
}
}