package com.ss.android.ugc.aweme.utils;

import X.8Zd;
import X.8Ze;
import X.8ec;
import X.9Ft;
import X.9Fx;
import com.bytedance.covode.number.Covode;
import java.util.List;

public class WebViewPreInitTask implements 8Ze {
    static {
        Covode.recordClassIndex(122071);
    }

    public boolean meetTrigger() {
        return true;
    }

    public String prefix() {
        return "task_";
    }

    public boolean serialExecute() {
        return false;
    }

    public int targetProcess() {
        return 1;
    }

    public List triggerOtherLegoComponents() {
        return null;
    }

    public 9Ft triggerType() {
        return 8Zd.LIZ(this);
    }

    public 9Fx scenesType() {
        return 9Fx.DEFAULT;
    }

    public 8ec type() {
        return 8ec.BACKGROUND;
    }

    public String key() {
        return getClass().getSimpleName();
    }

    /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r9v0, resolved type: java.lang.Object[]} */
    /* JADX WARNING: Multi-variable type inference failed */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public void run(android.content.Context r16) {
        /*
            r15 = this;
            boolean r0 = X.C28803Wu.LIZ
            if (r0 != 0) goto L_0x0060
            long r0 = android.os.SystemClock.elapsedRealtime()     // Catch:{ all -> 0x0060 }
            java.lang.Long.valueOf(r0)     // Catch:{ all -> 0x0060 }
            java.lang.String r0 = "android.webkit.WebViewFactory"
            java.lang.Class r3 = java.lang.Class.forName(r0)     // Catch:{ all -> 0x0060 }
            java.lang.reflect.Method[] r7 = r3.getDeclaredMethods()     // Catch:{ all -> 0x0060 }
            r8 = 0
            int r6 = r7.length     // Catch:{ all -> 0x0060 }
            r5 = 0
            r4 = 0
        L_0x0019:
            if (r4 >= r6) goto L_0x002e
            r2 = r7[r4]     // Catch:{ all -> 0x0060 }
            java.lang.String r1 = r2.getName()     // Catch:{ all -> 0x0060 }
            java.lang.String r0 = "getProvider"
            boolean r0 = android.text.TextUtils.equals(r1, r0)     // Catch:{ all -> 0x0060 }
            if (r0 == 0) goto L_0x002a
            goto L_0x002d
        L_0x002a:
            int r4 = r4 + 1
            goto L_0x0019
        L_0x002d:
            r8 = r2
        L_0x002e:
            r1 = 1
            r8.setAccessible(r1)     // Catch:{ all -> 0x0060 }
            java.lang.Object[] r2 = new java.lang.Object[r5]     // Catch:{ all -> 0x0060 }
            r0 = 110000(0x1adb0, float:1.54143E-40)
            X.AnonymousClass3GY.LIZ(r0)     // Catch:{ all -> 0x0060 }
            r7 = 0
            r0 = 2
            java.lang.Object[] r9 = new java.lang.Object[r0]     // Catch:{ all -> 0x0060 }
            r9[r5] = r3     // Catch:{ all -> 0x0060 }
            r9[r1] = r2     // Catch:{ all -> 0x0060 }
            r10 = 110000(0x1adb0, float:1.54143E-40)
            java.lang.String r11 = "java.lang.Object"
            r12 = 1
            r13 = 855899746(0x3303fe62, float:3.0732174E-8)
            r14 = 2
            android.util.Pair r1 = X.AnonymousClass3GY.LIZ(r7, r8, r9, r10, r11, r12, r13, r14)     // Catch:{ all -> 0x0060 }
            java.lang.Object r0 = r1.first     // Catch:{ all -> 0x0060 }
            java.lang.Boolean r0 = (java.lang.Boolean) r0     // Catch:{ all -> 0x0060 }
            boolean r0 = r0.booleanValue()     // Catch:{ all -> 0x0060 }
            if (r0 == 0) goto L_0x005d
            java.lang.Object r0 = r1.second     // Catch:{ all -> 0x0060 }
            return
        L_0x005d:
            r8.invoke(r3, r2)     // Catch:{ all -> 0x0060 }
        L_0x0060:
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.utils.WebViewPreInitTask.run(android.content.Context):void");
    }
}
