Loading core/java/android/credentials/CredentialManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -153,7 +153,7 @@ public final class CredentialManager { mService.getCandidateCredentials( request, new GetCandidateCredentialsTransport(executor, callback), mContext.getOpPackageName()); callingPackage); } catch (RemoteException e) { e.rethrowFromSystemServer(); } Loading core/java/android/service/autofill/Dataset.java +3 −0 Original line number Diff line number Diff line Loading @@ -1401,6 +1401,7 @@ public final class Dataset implements Parcelable { parcel.writeParcelable(mAuthentication, flags); parcel.writeString(mId); parcel.writeInt(mEligibleReason); parcel.writeTypedObject(mAuthenticationExtras, flags); } public static final @NonNull Creator<Dataset> CREATOR = new Creator<Dataset>() { Loading Loading @@ -1436,6 +1437,7 @@ public final class Dataset implements Parcelable { android.content.IntentSender.class); final String datasetId = parcel.readString(); final int eligibleReason = parcel.readInt(); final Bundle authenticationExtras = parcel.readTypedObject(Bundle.CREATOR); // Always go through the builder to ensure the data ingested by // the system obeys the contract of the builder to avoid attacks Loading Loading @@ -1480,6 +1482,7 @@ public final class Dataset implements Parcelable { fieldDialogPresentation); } builder.setAuthentication(authentication); builder.setAuthenticationExtras(authenticationExtras); builder.setId(datasetId); Dataset dataset = builder.build(); dataset.mEligibleReason = eligibleReason; Loading core/java/android/view/autofill/AutofillManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -3392,7 +3392,7 @@ public final class AutofillManager { return false; } for (String hint : hints) { if (Objects.equals(hint, View.AUTOFILL_HINT_CREDENTIAL_MANAGER)) { if (hint != null && hint.startsWith(View.AUTOFILL_HINT_CREDENTIAL_MANAGER)) { return true; } } Loading Loading
core/java/android/credentials/CredentialManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -153,7 +153,7 @@ public final class CredentialManager { mService.getCandidateCredentials( request, new GetCandidateCredentialsTransport(executor, callback), mContext.getOpPackageName()); callingPackage); } catch (RemoteException e) { e.rethrowFromSystemServer(); } Loading
core/java/android/service/autofill/Dataset.java +3 −0 Original line number Diff line number Diff line Loading @@ -1401,6 +1401,7 @@ public final class Dataset implements Parcelable { parcel.writeParcelable(mAuthentication, flags); parcel.writeString(mId); parcel.writeInt(mEligibleReason); parcel.writeTypedObject(mAuthenticationExtras, flags); } public static final @NonNull Creator<Dataset> CREATOR = new Creator<Dataset>() { Loading Loading @@ -1436,6 +1437,7 @@ public final class Dataset implements Parcelable { android.content.IntentSender.class); final String datasetId = parcel.readString(); final int eligibleReason = parcel.readInt(); final Bundle authenticationExtras = parcel.readTypedObject(Bundle.CREATOR); // Always go through the builder to ensure the data ingested by // the system obeys the contract of the builder to avoid attacks Loading Loading @@ -1480,6 +1482,7 @@ public final class Dataset implements Parcelable { fieldDialogPresentation); } builder.setAuthentication(authentication); builder.setAuthenticationExtras(authenticationExtras); builder.setId(datasetId); Dataset dataset = builder.build(); dataset.mEligibleReason = eligibleReason; Loading
core/java/android/view/autofill/AutofillManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -3392,7 +3392,7 @@ public final class AutofillManager { return false; } for (String hint : hints) { if (Objects.equals(hint, View.AUTOFILL_HINT_CREDENTIAL_MANAGER)) { if (hint != null && hint.startsWith(View.AUTOFILL_HINT_CREDENTIAL_MANAGER)) { return true; } } Loading