package com.tencent.mm.pluginsdk.ui.tools;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.kernel.g;
import com.tencent.mm.pluginsdk.permission.a;
import com.tencent.mm.pluginsdk.ui.tools.AppChooserUI.f;

class AppChooserUI$7 implements a {
    final /* synthetic */ AppChooserUI vty;

    AppChooserUI$7(AppChooserUI appChooserUI) {
        this.vty = appChooserUI;
    }

    public final void dT(boolean z) {
        AppMethodBeat.i(125864);
        if (!z) {
            g.RP().Ry().set(AppChooserUI.a(this.vty, 274560), Long.valueOf(0));
            if (AppChooserUI.a(this.vty) != null) {
                AppChooserUI.a(this.vty).vtz = f.vtK;
                AppChooserUI.a(this.vty).notifyDataSetChanged();
            }
        } else if (AppChooserUI.a(this.vty) != null) {
            AppChooserUI.a(this.vty).vtz = f.vtM;
            AppChooserUI.a(this.vty).notifyDataSetChanged();
            AppMethodBeat.o(125864);
            return;
        }
        AppMethodBeat.o(125864);
    }
}
