Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 731be1ca authored by James Willcox's avatar James Willcox Committed by Automerger Merge Worker
Browse files

Merge "Add a missing null check to BeginGetCredentialOption" into udc-dev am:...

Merge "Add a missing null check to BeginGetCredentialOption" into udc-dev am: 827e21eb am: 1245b784

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21524369



Change-Id: Ifc81272ada2e7f4b6b29e865bd809683126866be
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents fc40c1dd 1245b784
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -116,12 +116,12 @@ public class BeginGetCredentialOption implements Parcelable {
     * @param id the unique id associated with this option
     * @param type               the requested credential type
     * @param candidateQueryData the request candidateQueryData
     * @throws IllegalArgumentException If type is empty.
     * @throws IllegalArgumentException If id or type is empty.
     */
    public BeginGetCredentialOption(
            @NonNull String id, @NonNull String type,
            @NonNull Bundle candidateQueryData) {
        mId = id;
        mId = Preconditions.checkStringNotEmpty(id, "id must not be empty");
        mType = Preconditions.checkStringNotEmpty(type, "type must not be empty");
        Bundle bundle = new Bundle();
        bundle.putAll(candidateQueryData);