package androidx.core.app;

import android.app.PendingIntent;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.core.graphics.drawable.IconCompat;

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

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final Bundle f1561a;

    @Nullable
    public PendingIntent actionIntent;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final b2[] f1562b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final b2[] f1563c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final boolean f1564d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final boolean f1565e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final int f1566f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final boolean f1567g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public final int f1568h;

    /* JADX INFO: renamed from: i, reason: collision with root package name */
    public final CharSequence f1569i;

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public final boolean f1570j;

    @Nullable
    private IconCompat mIcon;

    public g0(int i10, @Nullable CharSequence charSequence, @Nullable PendingIntent pendingIntent) {
        this(i10 != 0 ? IconCompat.createWithResource(null, "", i10) : null, charSequence, pendingIntent);
    }

    @Nullable
    public PendingIntent getActionIntent() {
        return this.actionIntent;
    }

    @Nullable
    public b2[] getDataOnlyRemoteInputs() {
        return this.f1563c;
    }

    @Nullable
    public IconCompat getIconCompat() {
        int i10;
        if (this.mIcon == null && (i10 = this.f1568h) != 0) {
            this.mIcon = IconCompat.createWithResource(null, "", i10);
        }
        return this.mIcon;
    }

    @Nullable
    public b2[] getRemoteInputs() {
        return this.f1562b;
    }

    @Nullable
    public CharSequence getTitle() {
        return this.f1569i;
    }

    public g0(@Nullable IconCompat iconCompat, @Nullable CharSequence charSequence, @Nullable PendingIntent pendingIntent) {
        this(iconCompat, charSequence, pendingIntent, new Bundle(), (b2[]) null, (b2[]) null, true, 0, true, false, false);
    }

    public g0(int i10, @Nullable CharSequence charSequence, @Nullable PendingIntent pendingIntent, @Nullable Bundle bundle, @Nullable b2[] b2VarArr, @Nullable b2[] b2VarArr2, boolean z10, int i11, boolean z11, boolean z12, boolean z13) {
        this(i10 != 0 ? IconCompat.createWithResource(null, "", i10) : null, charSequence, pendingIntent, bundle, b2VarArr, b2VarArr2, z10, i11, z11, z12, z13);
    }

    public g0(@Nullable IconCompat iconCompat, @Nullable CharSequence charSequence, @Nullable PendingIntent pendingIntent, @Nullable Bundle bundle, @Nullable b2[] b2VarArr, @Nullable b2[] b2VarArr2, boolean z10, int i10, boolean z11, boolean z12, boolean z13) {
        this.f1565e = true;
        this.mIcon = iconCompat;
        if (iconCompat != null) {
            int i11 = iconCompat.f1702a;
            if ((i11 == -1 ? k0.b.c(iconCompat.f1703b) : i11) == 2) {
                this.f1568h = iconCompat.d();
            }
        }
        this.f1569i = s0.limitCharSequenceLength(charSequence);
        this.actionIntent = pendingIntent;
        this.f1561a = bundle == null ? new Bundle() : bundle;
        this.f1562b = b2VarArr;
        this.f1563c = b2VarArr2;
        this.f1564d = z10;
        this.f1566f = i10;
        this.f1565e = z11;
        this.f1567g = z12;
        this.f1570j = z13;
    }
}
