package com.tencent.mm.plugin.webview.ui.tools.jsapi;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.webview.ui.tools.jsapi.g.11;
import com.tencent.mm.plugin.webview.ui.tools.widget.n;
import com.tencent.mm.protocal.protobuf.avx;
import com.tencent.mm.sdk.platformtools.ab;
import java.util.LinkedList;

class g$11$1 implements Runnable {
    final /* synthetic */ avx uHm;
    final /* synthetic */ 11 uHn;

    g$11$1(11 11, avx avx) {
        this.uHn = 11;
        this.uHm = avx;
    }

    public final void run() {
        AppMethodBeat.i(9055);
        LinkedList linkedList = this.uHm.wlE;
        String str = this.uHm.ncH;
        String str2 = this.uHm.vDm;
        n nVar = new n(g.i(this.uHn.uHd));
        1 1 = new 1(this);
        if (linkedList == null || linkedList.size() <= 0) {
            ab.e("MicroMsg.MsgHandler", "scopeInfoList is empty!");
            g.a(this.uHn.uHd, this.uHn.uqf, "authorize:fail", null);
            this.uHn.uHi.aCB();
            AppMethodBeat.o(9055);
            return;
        }
        if (!nVar.a(linkedList, str, str2, 1)) {
            this.uHn.uHi.aCB();
        }
        AppMethodBeat.o(9055);
    }
}
