package p024h1; import p021g1.C0738a; import p039m1.C1470g; /* renamed from: h1.a */ /* loaded from: classes.dex */ public class C1002a extends C0738a { /* renamed from: h1.a$a */ /* loaded from: classes.dex */ public static final class C1003a { /* renamed from: a */ public static final C1003a f2508a = new C1003a(); /* renamed from: b */ public static final Integer f2509b; /* JADX WARN: Removed duplicated region for block: B:10:0x0023 */ static { Integer num; Object obj; Integer num2 = null; try { obj = Class.forName("android.os.Build$VERSION").getField("SDK_INT").get(null); } catch (Throwable unused) { } if (obj instanceof Integer) { num = (Integer) obj; if (num != null) { if (num.intValue() > 0) { num2 = num; } } f2509b = num2; } num = null; if (num != null) { } f2509b = num2; } } @Override // p021g1.C0738a /* renamed from: a */ public void mo2422a(Throwable th, Throwable th2) { C1470g.m1292e(th, "cause"); C1470g.m1292e(th2, "exception"); if (m2421c(19)) { Throwable.class.getDeclaredMethod("addSuppressed", Throwable.class).invoke(th, th2); } else { super.mo2422a(th, th2); } } /* renamed from: c */ public final boolean m2421c(int i) { Integer num = C1003a.f2509b; return num == null || num.intValue() >= i; } }