package com.tencent.mm.modelfriend;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.kernel.g;
import com.tencent.mm.modelfriend.AddrBookObserver.AddrBookService;
import com.tencent.mm.plugin.account.a.a.b;
import com.tencent.mm.plugin.account.friend.a.al;
import com.tencent.mm.plugin.account.friend.a.l;
import com.tencent.mm.sdk.platformtools.ab;

class AddrBookObserver$AddrBookService$1 implements b {
    final /* synthetic */ AddrBookService fAZ;

    AddrBookObserver$AddrBookService$1(AddrBookService addrBookService) {
        this.fAZ = addrBookService;
    }

    public final void cN(boolean z) {
        AppMethodBeat.i(124498);
        if (z) {
            System.currentTimeMillis();
            l.apX();
            g.Rg().a(new al(l.aqb(), l.aqa()), 0);
            this.fAZ.stopSelf();
            AddrBookService.fAV = false;
            AppMethodBeat.o(124498);
            return;
        }
        ab.v("MicroMsg.AddrBookObserver", "onSyncEnd not sync succ, do not upload");
        this.fAZ.stopSelf();
        AddrBookService.fAV = false;
        AppMethodBeat.o(124498);
    }
}
