package com.tencent.mm.plugin.appbrand.s;

import a.l;
import com.tencent.matrix.trace.core.AppMethodBeat;

@l(dWo = {1, 1, 13}, dWp = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\bÆ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u0018\u0010\u0003\u001a\u00020\u00042\u000e\u0010\u0005\u001a\n\u0012\u0006\b\u0001\u0012\u00020\u00070\u0006H\u0007¨\u0006\b"}, dWq = {"Lcom/tencent/mm/plugin/appbrand/utils/AndroidComponentUtil;", "", "()V", "isActivityHasSpecificTaskAffinity", "", "clazz", "Ljava/lang/Class;", "Landroid/app/Activity;", "plugin-appbrand-integration_release"})
public final class a {
    public static final a iRb = new a();

    static {
        AppMethodBeat.i(135218);
        AppMethodBeat.o(135218);
    }

    private a() {
    }

    /* JADX WARNING: Missing block: B:7:0x0027, code skipped:
            if (r0 == null) goto L_0x0029;
     */
    public static final boolean al(java.lang.Class<? extends android.app.Activity> r5) {
        /*
        r4 = 135217; // 0x21031 float:1.8948E-40 double:6.6806E-319;
        com.tencent.matrix.trace.core.AppMethodBeat.i(r4);
        r0 = "clazz";
        a.f.b.j.p(r5, r0);
        r1 = com.tencent.mm.sdk.platformtools.ah.getContext();
        if (r1 == 0) goto L_0x0029;
    L_0x0012:
        r0 = r1.getPackageManager();
        if (r0 == 0) goto L_0x0029;
    L_0x0018:
        r2 = new android.content.ComponentName;
        r2.<init>(r1, r5);
        r3 = 128; // 0x80 float:1.794E-43 double:6.32E-322;
        r0 = r0.getActivityInfo(r2, r3);
        if (r0 == 0) goto L_0x0029;
    L_0x0025:
        r0 = r0.taskAffinity;
        if (r0 != 0) goto L_0x0033;
    L_0x0029:
        r0 = "appContext";
        a.f.b.j.o(r1, r0);
        r0 = r1.getPackageName();
    L_0x0033:
        r1 = r1.getPackageName();
        r0 = a.f.b.j.j(r0, r1);
        r0 = r0 ^ 1;
        com.tencent.matrix.trace.core.AppMethodBeat.o(r4);
        return r0;
        */
        throw new UnsupportedOperationException("Method not decompiled: com.tencent.mm.plugin.appbrand.s.a.al(java.lang.Class):boolean");
    }
}
