package defpackage;

import android.app.Notification;
import android.app.PendingIntent;
import android.content.Context;
import android.os.Build;
import android.os.Bundle;
import java.util.ArrayList;

/* renamed from: ـʿ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C2142 {

    /* renamed from: ˇʼʤˎ, reason: contains not printable characters */
    public CharSequence f8435;

    /* renamed from: ˌʾˀ, reason: contains not printable characters */
    public final ArrayList f8436;

    /* renamed from: ˌᵜᵹᵩ, reason: contains not printable characters */
    public Bundle f8437;

    /* renamed from: ˎˏʜʾ, reason: contains not printable characters */
    public PendingIntent f8438;

    /* renamed from: ˏˋٴ, reason: contains not printable characters */
    public CharSequence f8439;

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final Context f8442;

    /* renamed from: ᵪʩ, reason: contains not printable characters */
    public final boolean f8443;

    /* renamed from: ᵯٴᵦ, reason: contains not printable characters */
    public String f8444;

    /* renamed from: ᵳٴᵶ, reason: contains not printable characters */
    public final Notification f8445;

    /* renamed from: ᵶᵷᵕ, reason: contains not printable characters */
    public C5553 f8447;

    /* renamed from: ᵹᵝᵶ, reason: contains not printable characters */
    public int f8449;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final ArrayList f8446 = new ArrayList();

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final ArrayList f8440 = new ArrayList();

    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public final ArrayList f8450 = new ArrayList();

    /* renamed from: ᵝᵵᵺ, reason: contains not printable characters */
    public final boolean f8441 = true;

    /* renamed from: ᵸˑ, reason: contains not printable characters */
    public boolean f8448 = false;

    public C2142(Context context, String str) {
        Notification notification = new Notification();
        this.f8445 = notification;
        this.f8442 = context;
        this.f8444 = str;
        notification.when = System.currentTimeMillis();
        notification.audioStreamType = -1;
        this.f8449 = 0;
        this.f8436 = new ArrayList();
        this.f8443 = true;
    }

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public static CharSequence m5762(CharSequence charSequence) {
        return (charSequence != null && charSequence.length() > 5120) ? charSequence.subSequence(0, 5120) : charSequence;
    }

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final void m5763(C5553 c5553) {
        if (this.f8447 != c5553) {
            this.f8447 = c5553;
            if (((C2142) c5553.f20833) != this) {
                c5553.f20833 = this;
                m5763(c5553);
            }
        }
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final Notification m5764() {
        Notification notificationBuild;
        Bundle bundle;
        ᵧˉʙ r0 = new ᵧˉʙ(this);
        Notification.Builder builder = (Notification.Builder) r0.ᵢˇᵭ;
        C2142 c2142 = (C2142) r0.ᵿʗᵝʽ;
        C5553 c5553 = c2142.f8447;
        if (c5553 != null) {
            new Notification.BigTextStyle(builder).setBigContentTitle(null).bigText((CharSequence) c5553.f20835);
        }
        int i = Build.VERSION.SDK_INT;
        if (i < 26 && i < 24) {
            builder.setExtras((Bundle) r0.ᵾᵬ);
            notificationBuild = builder.build();
        } else {
            notificationBuild = builder.build();
        }
        if (c5553 != null) {
            c2142.f8447.getClass();
        }
        if (c5553 != null && (bundle = notificationBuild.extras) != null) {
            bundle.putString("androidx.core.app.extra.COMPAT_TEMPLATE", "androidx.core.app.NotificationCompat$BigTextStyle");
        }
        return notificationBuild;
    }
}
