package com.tencent.mm.plugin.game.ui.tab;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.sdk.platformtools.ab;

class GameTabHomeUI$2 extends BroadcastReceiver {
    final /* synthetic */ GameTabHomeUI nnn;

    GameTabHomeUI$2(GameTabHomeUI gameTabHomeUI) {
        this.nnn = gameTabHomeUI;
    }

    public final void onReceive(Context context, Intent intent) {
        AppMethodBeat.i(112251);
        if (!(intent == null || !"com.tencent.mm.ACTION_EXIT".equals(intent.getAction()) || this.nnn == null || this.nnn.isFinishing())) {
            ab.i("MicroMsg.GameTabHomeUI", "GameTabHomeUI exit!");
            this.nnn.finish();
        }
        AppMethodBeat.o(112251);
    }
}
