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

import android.view.View;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.ipcinvoker.f;
import com.tencent.mm.ipcinvoker.type.IPCBoolean;
import com.tencent.mm.plugin.appbrand.collector.c;
import com.tencent.mm.plugin.appbrand.dynamic.ui.WxaWidgetPerformanceUI.d;
import com.tencent.mm.ui.widget.MMSwitchBtn.a;

class WxaWidgetPerformanceUI$4 implements a {
    final /* synthetic */ WxaWidgetPerformanceUI hpj;
    final /* synthetic */ View hpl;

    WxaWidgetPerformanceUI$4(WxaWidgetPerformanceUI wxaWidgetPerformanceUI, View view) {
        this.hpj = wxaWidgetPerformanceUI;
        this.hpl = view;
    }

    public final void di(boolean z) {
        AppMethodBeat.i(11019);
        f.a("com.tencent.mm:support", new IPCBoolean(z), d.class, null);
        c.dG(z);
        this.hpl.setEnabled(z);
        this.hpj.hpg.setEnabled(z);
        this.hpj.hph.setEnabled(z);
        this.hpj.hpi.setEnabled(z);
        AppMethodBeat.o(11019);
    }
}
