package com.tencent.mm.plugin.base.model;

import android.app.Activity;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.sdk.platformtools.ah;
import com.tencent.mm.ui.widget.a.e.a;
import com.tencent.mm.ui.widget.a.e.b;

class b$1 implements b {
    final /* synthetic */ a imH;
    final /* synthetic */ Activity val$activity;

    b$1(a aVar, Activity activity) {
        this.imH = aVar;
        this.val$activity = activity;
    }

    public final void s(boolean z, boolean z2) {
        AppMethodBeat.i(79061);
        this.imH.gud.dismiss();
        if (z2) {
            this.val$activity.getSharedPreferences(ah.doA(), 0).edit().putBoolean("no_more_show_add_short_cut_dialog", true).apply();
        }
        AppMethodBeat.o(79061);
    }
}
