package com.tencent.mm.plugin.appbrand.dynamic.d;

import android.os.Bundle;
import android.view.View;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.ipcinvoker.a;
import com.tencent.mm.ipcinvoker.c;
import com.tencent.mm.plugin.appbrand.dynamic.e;
import com.tencent.mm.plugin.appbrand.dynamic.h;
import com.tencent.mm.sdk.platformtools.ab;

class l$a implements a<com.tencent.mm.plugin.appbrand.dynamic.widget.a.a, Bundle> {
    private l$a() {
    }

    public final /* synthetic */ void a(Object obj, c cVar) {
        AppMethodBeat.i(10855);
        com.tencent.mm.plugin.appbrand.dynamic.widget.a.a aVar = (com.tencent.mm.plugin.appbrand.dynamic.widget.a.a) obj;
        Bundle bundle = new Bundle();
        View zS = e.azz().zS(aVar.id);
        if (zS instanceof h) {
            ((h) zS).b(aVar.height, new 1(this, bundle, cVar));
            AppMethodBeat.o(10855);
            return;
        }
        ab.i("MicroMsg.IPCInvoke_RequestSetWidgetSize", "drawCanvas failed, view is not a instance of DynamicPageAccessible.(%s)", new Object[]{aVar.id});
        bundle.putBoolean("ret", false);
        bundle.putString("reason", "view is not a instance of DynamicPageAccessible");
        cVar.ao(bundle);
        AppMethodBeat.o(10855);
    }
}
