package com.tencent.mm.plugin.notification.ui;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.g.a.kt;
import com.tencent.mm.plugin.notification.ui.FailSendMsgNotification.FailSendMsgNotificationService;
import com.tencent.mm.sdk.b.b;
import com.tencent.mm.sdk.b.c;
import com.tencent.mm.sdk.platformtools.ab;

class FailSendMsgNotification$FailSendMsgNotificationService$1 extends c<kt> {
    final /* synthetic */ FailSendMsgNotificationService oWO;

    FailSendMsgNotification$FailSendMsgNotificationService$1(FailSendMsgNotificationService failSendMsgNotificationService) {
        this.oWO = failSendMsgNotificationService;
        AppMethodBeat.i(23192);
        this.xxI = kt.class.getName().hashCode();
        AppMethodBeat.o(23192);
    }

    public final /* synthetic */ boolean a(b bVar) {
        AppMethodBeat.i(23193);
        if (((kt) bVar).cGI.type != this.oWO.bWW()) {
            ab.d("MicroMsg.FailSendMsgNotification", "FailSendMsgNotificationService, resend finish, type mismatch, type:%d, getNotificationType:%d", new Object[]{Integer.valueOf(((kt) bVar).cGI.type), Integer.valueOf(this.oWO.bWW())});
            AppMethodBeat.o(23193);
        } else {
            ab.d("MicroMsg.FailSendMsgNotification", "FailSendMsgNotificationService, resend finish, stop service and show notificaiton, type:%d", new Object[]{Integer.valueOf(((kt) bVar).cGI.type)});
            this.oWO.stopForeground(true);
            if (this.oWO.oWN != null) {
                this.oWO.oWN.kXv = false;
                this.oWO.oWN.show();
            }
            this.oWO.stopSelf();
            AppMethodBeat.o(23193);
        }
        return false;
    }
}
