package androidx.core.app; import android.os.Bundle; import androidx.core.app.m; import androidx.core.graphics.drawable.IconCompat; /* loaded from: classes.dex */ abstract class j0 { /* renamed from: a, reason: collision with root package name */ private static final Object f1430a = new Object(); /* renamed from: b, reason: collision with root package name */ private static final Object f1431b = new Object(); static Bundle a(m.a aVar) { Bundle bundle = new Bundle(); IconCompat d10 = aVar.d(); bundle.putInt("icon", d10 != null ? d10.e() : 0); bundle.putCharSequence("title", aVar.h()); bundle.putParcelable("actionIntent", aVar.a()); Bundle bundle2 = aVar.c() != null ? new Bundle(aVar.c()) : new Bundle(); bundle2.putBoolean("android.support.allowGeneratedReplies", aVar.b()); bundle.putBundle("extras", bundle2); bundle.putParcelableArray("remoteInputs", c(aVar.e())); bundle.putBoolean("showsUserInterface", aVar.g()); bundle.putInt("semanticAction", aVar.f()); return bundle; } private static Bundle b(m0 m0Var) { new Bundle(); throw null; } private static Bundle[] c(m0[] m0VarArr) { if (m0VarArr == null) { return null; } Bundle[] bundleArr = new Bundle[m0VarArr.length]; for (int i10 = 0; i10 < m0VarArr.length; i10++) { m0 m0Var = m0VarArr[i10]; bundleArr[i10] = b(null); } return bundleArr; } }