package androidx.core.app;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.core.graphics.drawable.IconCompat;

/* JADX INFO: loaded from: classes.dex */
public final class y1 {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public boolean f1696a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public boolean f1697b;

    @Nullable
    IconCompat mIcon;

    @Nullable
    String mKey;

    @Nullable
    CharSequence mName;

    @Nullable
    String mUri;

    public final z1 a() {
        z1 z1Var = new z1();
        z1Var.mName = this.mName;
        z1Var.mIcon = this.mIcon;
        z1Var.mUri = this.mUri;
        z1Var.mKey = this.mKey;
        z1Var.f1698a = this.f1696a;
        z1Var.f1699b = this.f1697b;
        return z1Var;
    }

    @NonNull
    public y1 setIcon(@Nullable IconCompat iconCompat) {
        this.mIcon = iconCompat;
        return this;
    }

    @NonNull
    public y1 setKey(@Nullable String str) {
        this.mKey = str;
        return this;
    }

    @NonNull
    public y1 setName(@Nullable CharSequence charSequence) {
        this.mName = charSequence;
        return this;
    }

    @NonNull
    public y1 setUri(@Nullable String str) {
        this.mUri = str;
        return this;
    }
}
