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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user